summaryrefslogtreecommitdiffstats
path: root/examples/network/network-chat/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/network/network-chat/main.cpp')
-rw-r--r--examples/network/network-chat/main.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/network/network-chat/main.cpp b/examples/network/network-chat/main.cpp
index e373095..79039a0 100644
--- a/examples/network/network-chat/main.cpp
+++ b/examples/network/network-chat/main.cpp
@@ -42,11 +42,22 @@
#include <QApplication>
#include "chatdialog.h"
+#ifdef Q_OS_SYMBIAN
+#include "sym_iap_util.h"
+#endif
int main(int argc, char *argv[])
{
+#ifdef Q_OS_SYMBIAN
+ qt_SetDefaultIap();
+#endif
QApplication app(argc, argv);
ChatDialog dialog;
+#ifdef Q_OS_SYMBIAN
+ // Make application better looking and more usable on small screen
+ dialog.showMaximized();
+#else
dialog.show();
+#endif
return app.exec();
}