##// END OF EJS Templates
Fix test application to have valid window size
Fix test application to have valid window size

File last commit:

r147:ede69107bdd8
r147:ede69107bdd8
Show More
main.cpp
18 lines | 316 B | text/x-c | CppLexer
#include <QtCore/QtGlobal>
#if (QT_VERSION < QT_VERSION_CHECK(5, 0, 0))
#include <QApplication>
#else
#include <QtWidgets/QApplication>
#endif
#include "mainwidget.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWidget w;
w.resize(1000,600);
w.show();
return a.exec();
}