1
0
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:
Teo Mrnjavac
2013-12-19 17:39:57 +01:00
parent 60d6ec3789
commit c18d8568c7

View File

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