1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 11:20:22 +02: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:
Leo Franchi
2012-12-08 23:45:07 -05:00
parent 3752d3a721
commit f20b3360e1

View File

@@ -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();