(trunk qt) improve launchWebInterface() when running a native session
This commit is contained in:
parent
128a41f4be
commit
90cc4628e8
|
@ -881,6 +881,7 @@ Session :: launchWebInterface( )
|
||||||
if( !mySession ) // remote session
|
if( !mySession ) // remote session
|
||||||
url = myUrl;
|
url = myUrl;
|
||||||
else { // local session
|
else { // local session
|
||||||
|
url.setScheme( "http" );
|
||||||
url.setHost( "localhost" );
|
url.setHost( "localhost" );
|
||||||
url.setPort( myPrefs.getInt( Prefs::RPC_PORT ) );
|
url.setPort( myPrefs.getInt( Prefs::RPC_PORT ) );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue