From 0723193fc74427814d5038c315381f1449505089 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Fri, 16 Apr 2010 20:17:52 +0000 Subject: [PATCH] (trunk qt) #3148 "command-line password argument isn't parsed correctly" -- fixed in trunk for 2.00. added backport-1.9x if/when we do 1.93. --- qt/app.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/app.cc b/qt/app.cc index 6662edab0..3b5199967 100644 --- a/qt/app.cc +++ b/qt/app.cc @@ -138,7 +138,7 @@ MyApp :: MyApp( int& argc, char ** argv ): if( username != 0 ) myPrefs->set( Prefs::SESSION_REMOTE_USERNAME, username ); if( password != 0 ) - myPrefs->set( Prefs::SESSION_REMOTE_USERNAME, password ); + myPrefs->set( Prefs::SESSION_REMOTE_PASSWORD, password ); if( ( host != 0 ) || ( port != 0 ) || ( username != 0 ) || ( password != 0 ) ) myPrefs->set( Prefs::SESSION_IS_REMOTE, true );