aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/library/librarywidget.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2021-01-16 19:03:33 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2021-01-16 19:03:33 +0000
commit7d9b7792aeb3db45e235f923061254de96d37e04 (patch)
tree745157293cdfb97f2de6892be4f2bdd95ac7e025 /src/plugins/General/library/librarywidget.h
parent4762863d93e56b9d4766e65a0247c8811b4c6756 (diff)
downloadqmmp-7d9b7792aeb3db45e235f923061254de96d37e04.tar.gz
qmmp-7d9b7792aeb3db45e235f923061254de96d37e04.tar.bz2
qmmp-7d9b7792aeb3db45e235f923061254de96d37e04.zip
library: added window mode (#147)
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9646 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/library/librarywidget.h')
-rw-r--r--src/plugins/General/library/librarywidget.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/General/library/librarywidget.h b/src/plugins/General/library/librarywidget.h
index 39b6e7022..31f7b9c1d 100644
--- a/src/plugins/General/library/librarywidget.h
+++ b/src/plugins/General/library/librarywidget.h
@@ -31,6 +31,7 @@ class QMenu;
class QAction;
class LibraryModel;
class QContextMenuEvent;
+class QCloseEvent;
class LibraryWidget : public QWidget
{
@@ -41,7 +42,8 @@ public:
void refresh();
private:
- void contextMenuEvent(QContextMenuEvent *e);
+ void closeEvent(QCloseEvent *) override;
+ void contextMenuEvent(QContextMenuEvent *e) override;
private slots:
void on_filterLineEdit_textChanged(const QString &text);