aboutsummaryrefslogtreecommitdiff
path: root/config/main.cpp
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-03-05 15:35:32 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2018-03-05 15:35:32 +0100
commit40de7d18bb5e91c049947344b8c632c40989ad10 (patch)
tree33c0a3a6500ea0c2d7b62f192f685bb93d7b99e0 /config/main.cpp
parentFixed pkgbuild again (diff)
downloadsmolbote-40de7d18bb5e91c049947344b8c632c40989ad10.tar.xz
Added poi-config
- view default configuration
Diffstat (limited to 'config/main.cpp')
-rw-r--r--config/main.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/config/main.cpp b/config/main.cpp
new file mode 100644
index 0000000..25751e6
--- /dev/null
+++ b/config/main.cpp
@@ -0,0 +1,21 @@
+/*
+ * This file is part of smolbote. It's copyrighted by the contributors recorded
+ * in the version control history of the file, available from its original
+ * location: https://neueland.iserlohn-fortress.net/smolbote.hg
+ *
+ * SPDX-License-Identifier: GPL-3.0
+ */
+
+#include "settingsdialog.h"
+#include <QApplication>
+
+int main(int argc, char **argv)
+{
+ QApplication app(argc, argv);
+ app.setQuitOnLastWindowClosed(true);
+
+ SettingsDialog dlg;
+ dlg.show();
+
+ return app.exec();
+} \ No newline at end of file