summaryrefslogtreecommitdiffstats
path: root/examples/widgets/widgets/stylesheet/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/widgets/stylesheet/mainwindow.h')
-rw-r--r--examples/widgets/widgets/stylesheet/mainwindow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/widgets/widgets/stylesheet/mainwindow.h b/examples/widgets/widgets/stylesheet/mainwindow.h
index 46d3ecbb93..8af4c01da0 100644
--- a/examples/widgets/widgets/stylesheet/mainwindow.h
+++ b/examples/widgets/widgets/stylesheet/mainwindow.h
@@ -62,7 +62,7 @@ class MainWindow : public QMainWindow
Q_OBJECT
public:
- MainWindow();
+ MainWindow(QWidget *parent = nullptr);
private slots:
void on_editStyleAction_triggered();