summaryrefslogtreecommitdiffstats
path: root/playerwidget.h
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2017-03-08 14:24:14 +0100
committerArno <arno@disconnect.de>2017-03-08 14:24:14 +0100
commit5a1dcd5e07af735c0ae1af96e544ab15ad13baff (patch)
treeb836886c61643acfd3ed406e885aa17d0cdd488d /playerwidget.h
parent5c42ff5dfb38d05d16da5e6f5f7b7c4c025a8095 (diff)
downloadBeetPlayer-5a1dcd5e07af735c0ae1af96e544ab15ad13baff.tar.gz
BeetPlayer-5a1dcd5e07af735c0ae1af96e544ab15ad13baff.tar.bz2
BeetPlayer-5a1dcd5e07af735c0ae1af96e544ab15ad13baff.zip
Quit BeetPlayer when closing the main window
Adding QSystemTrayIcon actually changed that behavior...
Diffstat (limited to 'playerwidget.h')
-rw-r--r--playerwidget.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/playerwidget.h b/playerwidget.h
index 67e89be..2c5542b 100644
--- a/playerwidget.h
+++ b/playerwidget.h
@@ -3,7 +3,7 @@
#include <QWidget>
#include <QMediaPlayer>
-#include <QIcon>
+#include <QSystemTrayIcon>
class QStandardItemModel;
class QStandardItem;
@@ -16,7 +16,6 @@ class QToolBar;
class QAction;
class BeetPlayerProxy;
class BeetView;
-class QSystemTrayIcon;
class PlayerWidget : public QWidget {
Q_OBJECT