summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index bac3ff2..56c4563 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -4,6 +4,10 @@ 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"));