summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-06-22 12:35:11 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-06-26 23:00:13 +0200
commit59604eb57a3fdc776f63d19e30659c6256eefa5a (patch)
tree1ab3befd9a84abc3238700d4af3ae29503c7393d
parent3bdaa4b59783f379cd80c895d13926fdf8e9629f (diff)
spline/widget: use <QtEvents>
-rw-r--r--spline/spline-widget.cpp10
-rw-r--r--spline/spline-widget.hpp6
2 files changed, 2 insertions, 14 deletions
diff --git a/spline/spline-widget.cpp b/spline/spline-widget.cpp
index ece6a68a..6cb05e6b 100644
--- a/spline/spline-widget.cpp
+++ b/spline/spline-widget.cpp
@@ -8,17 +8,11 @@
#include "spline-widget.hpp"
#include "compat/math.hpp"
#include <QPainter>
-#include <QPainterPath>
-#include <QPaintEvent>
-#include <QPen>
#include <QPixmap>
-#include <QList>
-#include <QPoint>
#include <QString>
-#include <QRect>
+#include <QToolTip>
#include <QApplication>
-#include <QStyle>
-#include <QMouseEvent>
+#include <QtEvents>
#include <QDebug>
diff --git a/spline/spline-widget.hpp b/spline/spline-widget.hpp
index ad21eea2..51c13056 100644
--- a/spline/spline-widget.hpp
+++ b/spline/spline-widget.hpp
@@ -17,12 +17,6 @@ using namespace options;
#include "export.hpp"
#include <QWidget>
-#include <QRect>
-#include <QPoint>
-#include <QPointF>
-#include <QToolTip>
-#include <QShowEvent>
-#include <QFocusEvent>
#include <QMetaObject>
#include <QDebug>