summaryrefslogtreecommitdiffstats
path: root/examples/layouts/dynamiclayouts/dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/layouts/dynamiclayouts/dialog.cpp')
-rw-r--r--examples/layouts/dynamiclayouts/dialog.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/layouts/dynamiclayouts/dialog.cpp b/examples/layouts/dynamiclayouts/dialog.cpp
index 58711bee7f..690e52b8fa 100644
--- a/examples/layouts/dynamiclayouts/dialog.cpp
+++ b/examples/layouts/dynamiclayouts/dialog.cpp
@@ -43,7 +43,11 @@
#include "dialog.h"
Dialog::Dialog(QWidget *parent)
+#if defined(Q_OS_SYMBIAN) || defined(Q_WS_MAEMO_5) || defined(Q_WS_SIMULATOR)
+ : QWidget(parent)
+#else
: QDialog(parent)
+#endif
{
createRotableGroupBox();
createOptionsGroupBox();