summaryrefslogtreecommitdiffstats
path: root/examples/widgets/widgets/lineedits/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/widgets/lineedits/window.h')
-rw-r--r--examples/widgets/widgets/lineedits/window.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/widgets/widgets/lineedits/window.h b/examples/widgets/widgets/lineedits/window.h
index 2070b3b84c..a31634f3a3 100644
--- a/examples/widgets/widgets/lineedits/window.h
+++ b/examples/widgets/widgets/lineedits/window.h
@@ -54,7 +54,6 @@
#include <QWidget>
QT_BEGIN_NAMESPACE
-class QComboBox;
class QLineEdit;
QT_END_NAMESPACE
@@ -64,7 +63,7 @@ class Window : public QWidget
Q_OBJECT
public:
- Window();
+ Window(QWidget *parent = nullptr);
public slots:
void echoChanged(int);