1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-16 14:01:58 +02:00

Implement Mpris Raise

This commit is contained in:
Keerthan Jaic 2014-10-28 12:31:55 -04:00
parent 60f57f94b6
commit f35a8de1f6

View File

@ -27,6 +27,7 @@
#include "infosystem/InfoSystemWorker.h"
#include "utils/Logger.h"
#include "utils/TomahawkUtils.h"
#include "utils/TomahawkUtilsGui.h"
#include "Album.h"
#include "Artist.h"
#include "GlobalActionManager.h"
@ -107,7 +108,7 @@ MprisPlugin::canQuit() const
bool
MprisPlugin::canRaise() const
{
return false;
return true;
}
@ -151,6 +152,7 @@ MprisPlugin::supportedMimeTypes() const
void
MprisPlugin::Raise()
{
TomahawkUtils::bringToFront();
}