]> granicus.if.org Git - transmission/commitdiff
(trunk qt) privacy guard to the url in the titlebar. patch from kjg
authorCharles Kerr <charles@transmissionbt.com>
Sun, 3 May 2009 03:33:23 +0000 (03:33 +0000)
committerCharles Kerr <charles@transmissionbt.com>
Sun, 3 May 2009 03:33:23 +0000 (03:33 +0000)
qt/mainwin.cc

index 359b0e3951d0ae896e0fe49bcab9c6f18d1ccd2a..4c8a4d566065ab6c0f7d14d8937aef5f2e389de3 100644 (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();