tools/hwmap2txt/hwmapconverter/main.cpp
author Wuzzy <Wuzzy2@mail.ru>
Wed, 25 Oct 2017 23:09:41 +0200
changeset 12763 ad67a3804981
parent 11015 7a905f0070ce
permissions -rw-r--r--
Fix sometimes ammo schemes not being saved after changing before an ammo scheme got deleted in session This was because the bool isDeleting is not initialized, so its initial value is unpredictable. Which means there's chance it starts with true, confusing the frontend.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
11015
7a905f0070ce CRLF purge
nemo
parents: 10936
diff changeset
     1
#include "mainwindow.h"
7a905f0070ce CRLF purge
nemo
parents: 10936
diff changeset
     2
#include <QApplication>
7a905f0070ce CRLF purge
nemo
parents: 10936
diff changeset
     3
7a905f0070ce CRLF purge
nemo
parents: 10936
diff changeset
     4
int main(int argc, char *argv[])
7a905f0070ce CRLF purge
nemo
parents: 10936
diff changeset
     5
{
7a905f0070ce CRLF purge
nemo
parents: 10936
diff changeset
     6
    QApplication a(argc, argv);
7a905f0070ce CRLF purge
nemo
parents: 10936
diff changeset
     7
    MainWindow w;
7a905f0070ce CRLF purge
nemo
parents: 10936
diff changeset
     8
    w.show();
7a905f0070ce CRLF purge
nemo
parents: 10936
diff changeset
     9
7a905f0070ce CRLF purge
nemo
parents: 10936
diff changeset
    10
    return a.exec();
7a905f0070ce CRLF purge
nemo
parents: 10936
diff changeset
    11
}