(trunk qt) privacy guard to the url in the titlebar. patch from kjg
This commit is contained in:
parent
2939c95ac7
commit
40c976a794
|
@ -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 New Issue