tools/templates/main.cpp
author unc0rr
Tue, 28 Oct 2008 20:56:02 +0000
changeset 1435 d4b32ee3caa6
parent 359 59fbfc65fbda
permissions -rw-r--r--
Fix using freed memory (could be the cause of queue error problem and other bugs)

#include <QApplication>

#include "mainform.h"

int main(int argc, char *argv[])
{
    QApplication app(argc, argv);
    MyWindow *mainWin = new MyWindow;
    mainWin->show();
    return app.exec();
}