forked from qt-creator/qt-creator
The Maemo 5 window manager already makes sure applications always run maximized. Reviewed-by: Robert Griebl
15 lines
225 B
C++
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();
|
|
}
|