summaryrefslogtreecommitdiffstats
path: root/examples/ipc/localfortuneclient/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ipc/localfortuneclient/main.cpp')
-rw-r--r--examples/ipc/localfortuneclient/main.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/ipc/localfortuneclient/main.cpp b/examples/ipc/localfortuneclient/main.cpp
index 19464d1de3..8e6feeba72 100644
--- a/examples/ipc/localfortuneclient/main.cpp
+++ b/examples/ipc/localfortuneclient/main.cpp
@@ -46,6 +46,10 @@ int main(int argc, char *argv[])
{
QApplication app(argc, argv);
Client client;
+#if defined(Q_WS_S60)
+ client.showMaximized();
+#else
client.show();
- return client.exec();
+#endif
+ return app.exec();
}