diff options
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 24 |
1 files changed, 16 insertions, 8 deletions
@@ -1,15 +1,23 @@ #include <QApplication> -#include <QHostAddress> - +#include <QDebug> +#ifdef Q_OS_SYMBIAN +#include "sym_iap_util.h" +#endif #include "MessageForm.h" #include "MessageListener.h" int main(int argc, char *argv[]) { - QApplication app(argc, argv); - - MessageForm a; - a.show(); - - return app.exec(); + QApplication app(argc, argv); + + MessageForm a; +#ifdef Q_OS_SYMBIAN + // Connect to IAP + qDebug() << qt_SetDefaultIap(); + // Make application better looking and more usable on small screen + a.showMaximized(); +#else + a.show(); +#endif + return app.exec(); } |