blob: 56c4563131149660dce433586de1946dde248ebb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#include "main_window.hpp"
int main(int argc, char* argv[])
{
QApplication app{argc, argv};
getsuyomi::GetsuyomiApp getsuyomi{};
auto status = getsuyomi.setup();
if (status != fud::FudStatus::Success) {
return static_cast<int>(status);
}
QCommandLineParser parser;
parser.setApplicationDescription(QApplication::translate("main", "A comic book and manga reader"));
parser.addHelpOption();
parser.addVersionOption();
parser.process(app);
return app.exec();
}
|