diff options
author | Dominick Allen <djallen@librehumanitas.org> | 2024-09-16 12:40:06 -0500 |
---|---|---|
committer | Dominick Allen <djallen@librehumanitas.org> | 2024-09-16 12:40:06 -0500 |
commit | 04dbfdc97e94e6f477675b9d3135164752a7cfef (patch) | |
tree | a95a3dede17c4fc9b6cb60369c3be51929dfbb2c /src/main.cpp | |
parent | 107d96690b37a6e4803f02117f22244d53c56706 (diff) |
Abort minizip attempt
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index bb08972..9a57bfc 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,8 +1,16 @@ #include "main_window.hpp" -int main(int argc, char* argv[]) { +int main(int argc, char* argv[]) +{ QApplication app{argc, argv}; - getsuyobi::GetsuyobiApp getsuyobi{}; + getsuyomi::GetsuyomiApp getsuyobi{}; + + QCommandLineParser parser; + parser.setApplicationDescription(QApplication::translate("main", "A comic book and manga reader")); + parser.addHelpOption(); + parser.addVersionOption(); + + parser.process(app); return app.exec(); } |