diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2017-08-09 13:33:00 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2017-08-09 13:33:00 +0000 |
| commit | 87739a2c6fb4d1f09dfc1d7da181ecac56f263e4 (patch) | |
| tree | 5e7099d80ec3ce712044ebb01524d767501d4a56 /src/plugins/General/mpris | |
| parent | 8151ed54258ec0bfe34bac093b4cc808a7ed5f3a (diff) | |
| download | qmmp-87739a2c6fb4d1f09dfc1d7da181ecac56f263e4.tar.gz qmmp-87739a2c6fb4d1f09dfc1d7da181ecac56f263e4.tar.bz2 qmmp-87739a2c6fb4d1f09dfc1d7da181ecac56f263e4.zip | |
mpris: 'Raise' method implementation
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@7374 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/mpris')
| -rw-r--r-- | src/plugins/General/mpris/mpris2/root2object.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/plugins/General/mpris/mpris2/root2object.cpp b/src/plugins/General/mpris/mpris2/root2object.cpp index 1508546c0..57f0a92b9 100644 --- a/src/plugins/General/mpris/mpris2/root2object.cpp +++ b/src/plugins/General/mpris/mpris2/root2object.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2010-2012 by Ilya Kotov * + * Copyright (C) 2010-2017 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -44,7 +44,7 @@ bool Root2Object::canQuit() const bool Root2Object::canRaise() const { - return false; + return true; } QString Root2Object::desktopEntry() const @@ -85,4 +85,7 @@ void Root2Object::Quit() UiHelper::instance()->exit(); } -void Root2Object::Raise(){} +void Root2Object::Raise() +{ + UiHelper::instance()->showMainWindow(); +} |
