forked from qt-creator/qt-creator
Set size of widgets for devices to match default resolution
* When creating a new project for some device: Set UI element size to the device resolution.
This commit is contained in:
@@ -5,6 +5,10 @@ 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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user