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:
parent
60f57f94b6
commit
f35a8de1f6
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user