summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorDominick Allen <djallen@librehumanitas.org>2024-09-30 00:36:19 -0500
committerDominick Allen <djallen@librehumanitas.org>2024-09-30 00:36:19 -0500
commit6f2b61b676a16482fdac70a58a8e875c4d68e713 (patch)
treee2f8b2376847b5b13b278572c0fae8a6bc4d0e82 /src/main.cpp
parentdacd752bbf46f2afb08b4b8d730ba3619528dda4 (diff)
Add configuration handling.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 56c4563..641372e 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -3,8 +3,8 @@
int main(int argc, char* argv[])
{
QApplication app{argc, argv};
- getsuyomi::GetsuyomiApp getsuyomi{};
- auto status = getsuyomi.setup();
+ auto getsuyomi = std::make_unique<getsuyomi::GetsuyomiApp>();
+ auto status = getsuyomi->setup();
if (status != fud::FudStatus::Success) {
return static_cast<int>(status);
}