Hex offsets

Hex offsets Git Source Tree

Root/main.cpp

1#include "mainwindow.hpp"
2#include <QApplication>
3
4int main(int argc, char *argv[])
5{
6 int entriesNumber = UIEntry::MIN_ENTRIES_NUMBER, temp;
7 bool ok;
8
9 if (argc == 2)
10 {
11 temp = QString(argv[1]).toInt(&ok);
12 if (ok)
13 entriesNumber = temp;
14 }
15 QApplication a(argc, argv);
16 MainWindow w(0, entriesNumber);
17 w.show();
18
19 return a.exec();
20}

Archive Download this file

Branches