1
0
Fork 0
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:
Charles Kerr 2009-05-03 03:33:23 +00:00
parent 2939c95ac7
commit 40c976a794

View file

@ -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();