summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorDominick Allen <djallen@librehumanitas.org>2024-09-16 12:40:06 -0500
committerDominick Allen <djallen@librehumanitas.org>2024-09-16 12:40:06 -0500
commit04dbfdc97e94e6f477675b9d3135164752a7cfef (patch)
treea95a3dede17c4fc9b6cb60369c3be51929dfbb2c /src/main.cpp
parent107d96690b37a6e4803f02117f22244d53c56706 (diff)
Abort minizip attempt
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp12
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();
}