aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/filterwidget2.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-06-22 14:08:04 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-09-29 16:13:03 -0700
commit631be569fe5b277c4c1729019305e06b02cec611 (patch)
tree1b1eef4810bafc1cd3f92480db0b56ddf997291b /desktop-widgets/filterwidget2.h
parent38b686687faed3f8f60828105a2036d5f4e48db6 (diff)
downloadsubsurface-631be569fe5b277c4c1729019305e06b02cec611.tar.gz
cleanup: forward declare QHideEvent and QShowEvent
Don't include the respective header files in filterwidget2.h Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/filterwidget2.h')
-rw-r--r--desktop-widgets/filterwidget2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/filterwidget2.h b/desktop-widgets/filterwidget2.h
index 3de16872e..76d089b61 100644
--- a/desktop-widgets/filterwidget2.h
+++ b/desktop-widgets/filterwidget2.h
@@ -1,8 +1,6 @@
#ifndef FILTERWIDGET_2_H
#define FILTERWIDGET_2_H
-#include <QHideEvent>
-#include <QShowEvent>
#include <vector>
#include <memory>
@@ -13,6 +11,8 @@
class FilterConstraintWidget;
class QMenu;
+class QHideEvent;
+class QShowEvent;
class FilterWidget2 : public QWidget {
Q_OBJECT