tools/drawMapTest/main.cpp
author koda
Fri, 05 Apr 2013 18:25:23 +0200
changeset 8865 dd4035ee0f12
parent 4425 2314bb0c433d
permissions -rw-r--r--
use SDL_Threads everywhere The trick was to mark the threaded functions as cdecl and load arguments correctly. This allows us to: - drop a few ifdefs; - use integrated waiting code; - remove some whitespaces \o/; - fix bug #591.

#include <QtGui/QApplication>
#include "mainwindow.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    MainWindow w;
    w.show();
    return a.exec();
}