tools/templates/main.cpp
author nemo
Tue, 23 Aug 2011 16:37:57 -0400
changeset 5674 244cbc1448bd
parent 359 59fbfc65fbda
permissions -rw-r--r--
Set more generous minimums. Flicker seems to have nothing to do with minimum size. I get it even for fairly large dimensions after scaling down from a much larger size. Similar to issues with zoom from about a month ago, before unc0rr fixed them.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
359
59fbfc65fbda - New land templates
unc0rr
parents:
diff changeset
     1
#include <QApplication>
59fbfc65fbda - New land templates
unc0rr
parents:
diff changeset
     2
59fbfc65fbda - New land templates
unc0rr
parents:
diff changeset
     3
#include "mainform.h"
59fbfc65fbda - New land templates
unc0rr
parents:
diff changeset
     4
59fbfc65fbda - New land templates
unc0rr
parents:
diff changeset
     5
int main(int argc, char *argv[])
59fbfc65fbda - New land templates
unc0rr
parents:
diff changeset
     6
{
59fbfc65fbda - New land templates
unc0rr
parents:
diff changeset
     7
    QApplication app(argc, argv);
59fbfc65fbda - New land templates
unc0rr
parents:
diff changeset
     8
    MyWindow *mainWin = new MyWindow;
59fbfc65fbda - New land templates
unc0rr
parents:
diff changeset
     9
    mainWin->show();
59fbfc65fbda - New land templates
unc0rr
parents:
diff changeset
    10
    return app.exec();
59fbfc65fbda - New land templates
unc0rr
parents:
diff changeset
    11
}