1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 17:17:31 +00:00

(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.

This commit is contained in:
Charles Kerr 2010-04-16 20:17:52 +00:00
parent 609f1994e1
commit 0723193fc7

View file

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