summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkku Luukkainen <markku.luukkainen@digia.com>2009-05-19 12:45:55 (GMT)
committerMarkku Luukkainen <markku.luukkainen@digia.com>2009-05-19 12:45:55 (GMT)
commitd2a9a4c38df32aed0bbcc21c0f971e1cf799226a (patch)
tree9af323ec05d7940ee73438bab0b8e7fdbcaddd67
parentad475e3b8935b1314382e2d2c6a7d09ace98b550 (diff)
downloadQt-d2a9a4c38df32aed0bbcc21c0f971e1cf799226a.zip
Qt-d2a9a4c38df32aed0bbcc21c0f971e1cf799226a.tar.gz
Qt-d2a9a4c38df32aed0bbcc21c0f971e1cf799226a.tar.bz2
Changed stylesheets example to create softkeystack. This commit
should probably be reverted before merging to master
-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");