summaryrefslogtreecommitdiffstats
path: root/examples/ipc/localfortuneserver/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ipc/localfortuneserver/main.cpp')
-rw-r--r--examples/ipc/localfortuneserver/main.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/ipc/localfortuneserver/main.cpp b/examples/ipc/localfortuneserver/main.cpp
index 6c0e9ee..fc0c698 100644
--- a/examples/ipc/localfortuneserver/main.cpp
+++ b/examples/ipc/localfortuneserver/main.cpp
@@ -49,7 +49,11 @@ int main(int argc, char *argv[])
{
QApplication app(argc, argv);
Server server;
+#if defined(Q_WS_S60)
+ server.showMaximized();
+#else
server.show();
+#endif
qsrand(QTime(0,0,0).secsTo(QTime::currentTime()));
- return server.exec();
+ return app.exec();
}