summaryrefslogtreecommitdiffstats
path: root/examples/ipc/localfortuneserver/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ipc/localfortuneserver/server.cpp')
-rw-r--r--examples/ipc/localfortuneserver/server.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/ipc/localfortuneserver/server.cpp b/examples/ipc/localfortuneserver/server.cpp
index 493f4d269b..e68e5de457 100644
--- a/examples/ipc/localfortuneserver/server.cpp
+++ b/examples/ipc/localfortuneserver/server.cpp
@@ -48,9 +48,14 @@
#include <qlocalsocket.h>
Server::Server(QWidget *parent)
+#ifdef Q_WS_MAEMO_5
+ : QWidget(parent)
+#else
: QDialog(parent)
+#endif
{
statusLabel = new QLabel;
+ statusLabel->setWordWrap(true);
quitButton = new QPushButton(tr("Quit"));
quitButton->setAutoDefault(false);