#include <%QAPP_INCLUDE%>
#include "%INCLUDE%"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    %CLASS% w;
#if defined(Q_WS_S60)
    w.showMaximized();
#else
    w.show();
#endif
    return a.exec();
}

#include <%QAPP_INCLUDE%>
#include "%INCLUDE%"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    %CLASS% w;
#if defined(Q_WS_S60) || defined(Q_WS_MAEMO_5)
    w.showMaximized();
#else
    w.show();
#endif
    return a.exec();
}

--- 
+++ 
@@ -5,7 +5,7 @@
 {
     QApplication a(argc, argv);
     %CLASS% w;
-#if defined(Q_WS_S60) || defined(Q_WS_MAEMO_5)
+#if defined(Q_WS_S60)
     w.showMaximized();
 #else
     w.show();
Remove special showMaximized case for Maemo 5

The Maemo 5 window manager already makes sure applications always run
maximized.

Reviewed-by: Robert Griebl
