blob: 641372e977012314c7bb514792bb7bbf487057c3 (
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};
auto getsuyomi = std::make_unique<getsuyomi::GetsuyomiApp>();
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();
}
|