##// END OF EJS Templates
Fix a major memory leak
Fix a major memory leak

File last commit:

r147:ede69107bdd8
r229:a66d0f17c040
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();
}