(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
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ TrMainWindow :: TrMainWindow( Session& session, Prefs& prefs, TorrentModel& mode
QString title( "Transmission" ); QString title( "Transmission" );
const QUrl remoteUrl( session.getRemoteUrl( ) ); const QUrl remoteUrl( session.getRemoteUrl( ) );
if( !remoteUrl.isEmpty( ) ) if( !remoteUrl.isEmpty( ) )
title += tr( " - %1" ).arg( remoteUrl.toString() ); title += tr( " - %1" ).arg( remoteUrl.toString(QUrl::RemoveUserInfo) );
setWindowTitle( title ); setWindowTitle( title );
QStyle * style = this->style(); QStyle * style = this->style();