summaryrefslogtreecommitdiffstats
path: root/examples/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets')
-rw-r--r--examples/widgets/stylesheet/mainwindow.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/widgets/stylesheet/mainwindow.cpp b/examples/widgets/stylesheet/mainwindow.cpp
index a1307a8..a0a38ad 100644
--- a/examples/widgets/stylesheet/mainwindow.cpp
+++ b/examples/widgets/stylesheet/mainwindow.cpp
@@ -46,6 +46,9 @@
MainWindow::MainWindow()
{
+ QSoftKeyStack* stack = new QSoftKeyStack(this);
+ setSoftKeyStack(stack);
+
ui.setupUi(this);
ui.nameLabel->setProperty("class", "mandatory QLabel");