tools/templates/main.cpp
author unc0rr
Wed, 16 Sep 2009 14:44:40 +0000
changeset 2382 bfd378dfc4e7
parent 359 59fbfc65fbda
permissions -rw-r--r--
Optimize network traffic a bit: - Send keepalive packets every second - Don't send keepalive packet if there was action packet within a second Time between turns in net game is reduced to 1 second now (was 2 seconds)

#include <QApplication>

#include "mainform.h"

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