Add (better) portrait mode support. This commit will temporarily break
[groove] / main.cpp
1 #include "groove.h"\r
2 #include <parser.h>\r
3 \r
4 int main(int argc, char *argv[])\r
5 {\r
6     QApplication a(argc, argv);\r
7     a.setApplicationName("Groove");\r
8     groove gs; //create Groove!\r
9 #ifdef Q_WS_MAEMO_5\r
10     //setAttribute(Qt::WA_Maemo5AutoOrientation,true);\r
11     //a.setAttribute(Qt::WA_Maemo5AutoOrientation,true);\r
12 #endif\r
13 #if defined(Q_WS_S60)\r
14     gs.showMaximized();\r
15 #else\r
16     gs.show();\r
17 #endif\r
18     return a.exec();\r
19 }\r