summaryrefslogtreecommitdiffstats
path: root/examples/widgets/widgets/tooltips/sortingbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/widgets/tooltips/sortingbox.h')
-rw-r--r--examples/widgets/widgets/tooltips/sortingbox.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/widgets/widgets/tooltips/sortingbox.h b/examples/widgets/widgets/tooltips/sortingbox.h
index 2ac27614a5..3d0cecea2b 100644
--- a/examples/widgets/widgets/tooltips/sortingbox.h
+++ b/examples/widgets/widgets/tooltips/sortingbox.h
@@ -51,10 +51,10 @@
#ifndef SORTINGBOX_H
#define SORTINGBOX_H
-#include <QWidget>
-
#include "shapeitem.h"
+#include <QWidget>
+
QT_BEGIN_NAMESPACE
class QAction;
class QPoint;
@@ -67,7 +67,7 @@ class SortingBox : public QWidget
Q_OBJECT
public:
- SortingBox();
+ SortingBox(QWidget *parent = nullptr);
protected:
bool event(QEvent *event) override;