tools/templates/main.cpp
author unc0rr
Fri, 09 Sep 2011 22:04:40 +0400
changeset 5829 3ec95dc2b249
parent 359 59fbfc65fbda
permissions -rw-r--r--
Don't test for hasGone in unapproved places. Now any possibility of desync on player quit is ruled out. Not tested at all.

#include <QApplication>

#include "mainform.h"

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