mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-14 01:54:07 +02:00
If a tomahawk link has a xspf, be sure to load it from GAM.
This commit is contained in:
@@ -718,6 +718,8 @@ TomahawkApp::activate()
|
||||
|
||||
bool
|
||||
TomahawkApp::loadUrl( const QString& url )
|
||||
{
|
||||
if ( !url.startsWith( "tomahawk://" ) )
|
||||
{
|
||||
QFile f( url );
|
||||
QFileInfo info( f );
|
||||
@@ -737,6 +739,7 @@ TomahawkApp::loadUrl( const QString& url )
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return GlobalActionManager::instance()->openUrl( url );
|
||||
}
|
||||
|
Reference in New Issue
Block a user