mirror of
https://github.com/transmission/transmission.git
synced 2026-05-08 17:49:52 +01:00
(trunk qt) improve launchWebInterface() when running a native session
This commit is contained in:
+2
-1
@@ -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 ) );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user