From f58ba2926eda9aef709c61159661653ba28ecf85 Mon Sep 17 00:00:00 2001 From: Leo Franchi Date: Thu, 6 Oct 2011 14:25:37 -0400 Subject: [PATCH] Fix shorten link action when called from different thread --- src/libtomahawk/globalactionmanager.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libtomahawk/globalactionmanager.h b/src/libtomahawk/globalactionmanager.h index 156fbc58d..e3d85eb14 100644 --- a/src/libtomahawk/globalactionmanager.h +++ b/src/libtomahawk/globalactionmanager.h @@ -45,8 +45,6 @@ public: QUrl openLinkFromQuery( const Tomahawk::query_ptr& query ) const; QUrl openLink( const QString& title, const QString& artist, const QString& album ) const; - void shortenLink( const QUrl& url ); - /// Takes a spotify link and performs the default open action on it bool openSpotifyLink( const QString& link ); @@ -58,6 +56,8 @@ public: void savePlaylistToFile( const Tomahawk::playlist_ptr& playlist, const QString& filename ); public slots: + void shortenLink( const QUrl& url ); + bool parseTomahawkLink( const QString& link ); void waitingForResolved( bool );