1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-21 00:09:47 +01:00

As stated in --help the URL should always be the last argument

This commit is contained in:
Uwe L. Korn 2013-02-07 18:21:37 +01:00
parent 1359ceb842
commit 615e2e4224

View File

@ -735,8 +735,8 @@ TomahawkApp::instanceStarted( KDSingleApplicationGuard::Instance instance )
return;
}
QString arg1 = arguments[ 1 ];
if ( loadUrl( arg1 ) )
QString lastArg = arguments[ arguments.size() - 1 ];
if ( loadUrl( lastArg ) )
{
activate();
return;