aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/library/librarywidget.h
diff options
context:
space:
mode:
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);