From 40c976a794b4a59dedc8d1eedbad74ec2beacbb5 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Sun, 3 May 2009 03:33:23 +0000 Subject: [PATCH] (trunk qt) privacy guard to the url in the titlebar. patch from kjg --- qt/mainwin.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/mainwin.cc b/qt/mainwin.cc index 359b0e395..4c8a4d566 100644 --- a/qt/mainwin.cc +++ b/qt/mainwin.cc @@ -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(); -- 2.40.0