mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-21 00:09:47 +01:00
Merge pull request #160 from xhochy/fix/url-argument-position
As stated in --help the URL should always be the last argument
This commit is contained in:
commit
df4e9193ec
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user