Files
qt-creator/share/qtcreator/templates/qt4project/main.cpp
Thorbjørn Lindeijer 1eceed92f1 Remove special showMaximized case for Maemo 5
The Maemo 5 window manager already makes sure applications always run
maximized.

Reviewed-by: Robert Griebl
2010-03-23 17:53:14 +01:00

15 lines
225 B
C++

#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();
}