From 7d9b7792aeb3db45e235f923061254de96d37e04 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sat, 16 Jan 2021 19:03:33 +0000 Subject: 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 --- src/plugins/General/library/librarywidget.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/plugins/General/library/librarywidget.h') 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); -- cgit v1.2.3-13-gbd6f