summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorDominick Allen <djallen@librehumanitas.org>2024-09-29 09:28:28 -0500
committerDominick Allen <djallen@librehumanitas.org>2024-09-29 09:28:28 -0500
commit0e648c7c62944cd81aa57f10ac01cdabe2f2b7e0 (patch)
treea2a0912e33e7a18f6c9e32e5e4b5fb0a4ba622bc /src/main.cpp
parentfa4b4097d3283e1d6e6376c70910e245f0b1f6ec (diff)
Remember various settings.
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"));