1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-06 22:26:32 +02:00

DRY: Use GAM logic instead of build an own one in MPRIS

This commit is contained in:
Uwe L. Korn
2013-07-28 13:02:50 +02:00
parent 832305008b
commit 5884db1e3b

View File

@@ -364,12 +364,9 @@ MprisPlugin::Next()
void void
MprisPlugin::OpenUri( const QString& Uri ) MprisPlugin::OpenUri( const QString& uri )
{ {
if ( Uri.contains( "tomahawk://" ) ) GlobalActionManager::instance()->openUrl( uri );
GlobalActionManager::instance()->parseTomahawkLink( Uri );
else if ( Uri.contains( "spotify:" ) )
GlobalActionManager::instance()->openSpotifyLink( Uri );
} }