(trunk qt) improve launchWebInterface() when running a native session

This commit is contained in:
Charles Kerr
2009-05-08 03:38:46 +00:00
parent 128a41f4be
commit 90cc4628e8
+2 -1
View File
@@ -878,9 +878,10 @@ void
Session :: launchWebInterface( )
{
QUrl url;
if( !mySession) // remote session
if( !mySession ) // remote session
url = myUrl;
else { // local session
url.setScheme( "http" );
url.setHost( "localhost" );
url.setPort( myPrefs.getInt( Prefs::RPC_PORT ) );
}