diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2016-11-05 13:55:28 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2016-11-05 13:55:28 +0000 |
| commit | 0a144e8fedc0b258ecc91c834ae89bb7d63d9889 (patch) | |
| tree | 6d4e7b2c61b96294dff378b7e5827afd9c609866 /src/plugins/General/notifier/notifier.h | |
| parent | a97fb9120aa7c177cc7018c64cbc4153a5234ae8 (diff) | |
| download | qmmp-0a144e8fedc0b258ecc91c834ae89bb7d63d9889.tar.gz qmmp-0a144e8fedc0b258ecc91c834ae89bb7d63d9889.tar.bz2 qmmp-0a144e8fedc0b258ecc91c834ae89bb7d63d9889.zip | |
added feature to disable notifications when another app is in full
screen mode
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@6868 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/notifier/notifier.h')
| -rw-r--r-- | src/plugins/General/notifier/notifier.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/plugins/General/notifier/notifier.h b/src/plugins/General/notifier/notifier.h index 2576a9b86..ba5bc8b23 100644 --- a/src/plugins/General/notifier/notifier.h +++ b/src/plugins/General/notifier/notifier.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2008-2013 by Ilya Kotov * + * Copyright (C) 2008-2016 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -46,13 +46,17 @@ private slots: void setState(Qmmp::State state); private: - QPointer<PopupWidget> m_popupWidget; void removePsiTuneFiles(); +#ifdef Q_WS_X11 + bool hasFullscreenWindow() const; +#endif + QPointer<PopupWidget> m_popupWidget; bool m_desktop, m_showVolume; bool m_psi; int m_l, m_r; bool m_isPaused; bool m_resumeNotification; + bool m_disableForFullScreen; SoundCore *m_core; QStringList m_psiTuneFiles; |
