tools/drawMapTest/main.cpp
author Zorg <zorgiepoo@gmail.com>
Sun, 03 Apr 2011 00:13:38 -0400
changeset 5083 b0b560f561b5
parent 4425 2314bb0c433d
permissions -rw-r--r--
Fixed messages complaining about no autorelease pool being set up with objects leaking on the Mac. I simply initialized an autorelease pool in the couple of places that needed it.

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

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