mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 07:49:42 +01:00
On second thought, remove this whole conditional
KDSingleAppGuard has changed, we now get an instanceStarted() signal that we handle in TomahawkApp, which contains the arguments passed to the second instance. There's never any work we need to do in the secondary process.
This commit is contained in:
parent
3752d3a721
commit
f20b3360e1
@ -160,12 +160,6 @@ main( int argc, char *argv[] )
|
||||
if ( guard.isPrimaryInstance() )
|
||||
a.init();
|
||||
|
||||
if ( guard.isPrimaryInstance() && argc > 1 )
|
||||
{
|
||||
QString arg = a.arguments()[ 1 ];
|
||||
a.loadUrl( arg );
|
||||
}
|
||||
|
||||
int returnCode = 0;
|
||||
if ( guard.isPrimaryInstance() )
|
||||
returnCode = a.exec();
|
||||
|
Loading…
x
Reference in New Issue
Block a user