summaryrefslogtreecommitdiff
path: root/src/main.cpp
blob: bac3ff2501c9f45834d455438a1825d09134a63d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "main_window.hpp"

int main(int argc, char* argv[])
{
    QApplication app{argc, argv};
    getsuyomi::GetsuyomiApp getsuyomi{};

    QCommandLineParser parser;
    parser.setApplicationDescription(QApplication::translate("main", "A comic book and manga reader"));
    parser.addHelpOption();
    parser.addVersionOption();

    parser.process(app);

    return app.exec();
}