diff options
author | Tobias Hunger <tobias.hunger@nokia.com> | 2010-04-08 14:56:56 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@nokia.com> | 2010-04-08 16:05:32 +0200 |
commit | af9428a6cd68fc4d3ea60a7bf2d4bac41b76fb0f (patch) | |
tree | 2c7920d41ec5d23bd44c76f77365d174424fb14d /share | |
parent | 7ed80f165634e05030776ede90310603d4ca7d19 (diff) |
Only add #ifdef for symbian on mobile builds
Reviewed-by: Friedemann Kleint
Diffstat (limited to 'share')
-rw-r--r-- | share/qtcreator/templates/qt4project/main.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/share/qtcreator/templates/qt4project/main.cpp b/share/qtcreator/templates/qt4project/main.cpp index dfb26c39b3e..8c747ef3705 100644 --- a/share/qtcreator/templates/qt4project/main.cpp +++ b/share/qtcreator/templates/qt4project/main.cpp @@ -5,10 +5,6 @@ int main(int argc, char *argv[]) { QApplication a(argc, argv); %CLASS% w; -#if defined(Q_WS_S60) - w.showMaximized(); -#else - w.show(); -#endif + %SHOWMETHOD% return a.exec(); } |