mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 06:07:37 +02:00
Implement Mpris Raise
This commit is contained in:
@@ -27,6 +27,7 @@
|
|||||||
#include "infosystem/InfoSystemWorker.h"
|
#include "infosystem/InfoSystemWorker.h"
|
||||||
#include "utils/Logger.h"
|
#include "utils/Logger.h"
|
||||||
#include "utils/TomahawkUtils.h"
|
#include "utils/TomahawkUtils.h"
|
||||||
|
#include "utils/TomahawkUtilsGui.h"
|
||||||
#include "Album.h"
|
#include "Album.h"
|
||||||
#include "Artist.h"
|
#include "Artist.h"
|
||||||
#include "GlobalActionManager.h"
|
#include "GlobalActionManager.h"
|
||||||
@@ -107,7 +108,7 @@ MprisPlugin::canQuit() const
|
|||||||
bool
|
bool
|
||||||
MprisPlugin::canRaise() const
|
MprisPlugin::canRaise() const
|
||||||
{
|
{
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -151,6 +152,7 @@ MprisPlugin::supportedMimeTypes() const
|
|||||||
void
|
void
|
||||||
MprisPlugin::Raise()
|
MprisPlugin::Raise()
|
||||||
{
|
{
|
||||||
|
TomahawkUtils::bringToFront();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user