mirror of
https://github.com/transmission/transmission
synced 2025-01-03 05:25:52 +00:00
(trunk qt) improve launchWebInterface() when running a native session
This commit is contained in:
parent
128a41f4be
commit
90cc4628e8
1 changed files with 2 additions and 1 deletions
|
@ -881,6 +881,7 @@ Session :: launchWebInterface( )
|
|||
if( !mySession ) // remote session
|
||||
url = myUrl;
|
||||
else { // local session
|
||||
url.setScheme( "http" );
|
||||
url.setHost( "localhost" );
|
||||
url.setPort( myPrefs.getInt( Prefs::RPC_PORT ) );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue