mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-01 03:40:16 +02:00
As stated in --help the URL should always be the last argument
This commit is contained in:
@@ -735,8 +735,8 @@ TomahawkApp::instanceStarted( KDSingleApplicationGuard::Instance instance )
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
QString arg1 = arguments[ 1 ];
|
QString lastArg = arguments[ arguments.size() - 1 ];
|
||||||
if ( loadUrl( arg1 ) )
|
if ( loadUrl( lastArg ) )
|
||||||
{
|
{
|
||||||
activate();
|
activate();
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user