mirror of
https://github.com/transmission/transmission
synced 2024-12-22 07:42:37 +00:00
(trunk qt) privacy guard to the url in the titlebar. patch from kjg
This commit is contained in:
parent
2939c95ac7
commit
40c976a794
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ TrMainWindow :: TrMainWindow( Session& session, Prefs& prefs, TorrentModel& mode
|
|||
QString title( "Transmission" );
|
||||
const QUrl remoteUrl( session.getRemoteUrl( ) );
|
||||
if( !remoteUrl.isEmpty( ) )
|
||||
title += tr( " - %1" ).arg( remoteUrl.toString() );
|
||||
title += tr( " - %1" ).arg( remoteUrl.toString(QUrl::RemoveUserInfo) );
|
||||
setWindowTitle( title );
|
||||
|
||||
QStyle * style = this->style();
|
||||
|
|
Loading…
Reference in a new issue