summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-03-17 22:16:24 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-04-01 10:58:24 +0900
commite7b18a1f57023a06ad12f5ff7d3cb2e80a254be5 (patch)
treed86a2f7b4012fdf7ebc7120317d0b3a9bd7ec135 /src/main.cpp
parentd879569fce39cb38991384a1851eeb42eca6e16f (diff)
downloaduniversal-indent-gui-tqt-e7b18a1f57023a06ad12f5ff7d3cb2e80a254be5.tar.gz
universal-indent-gui-tqt-e7b18a1f57023a06ad12f5ff7d3cb2e80a254be5.zip
Added first part of UiGuiSettings class.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/main.cpp')
-rwxr-xr-xsrc/main.cpp22
1 files changed, 10 insertions, 12 deletions
diff --git a/src/main.cpp b/src/main.cpp
index c17f0c6..97f66b4 100755
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -19,26 +19,24 @@
#include "MainWindow.h"
-// -- #include "UiGuiIndentServer.h"
// -- #include "debugging/TSLogger.h"
-// -- #include "UiGuiIniFileParser.h"
-// -- #include "UiGuiSettings.h"
-// -- #include "UiGuiSystemInfo.h"
// -- #include "IndentHandler.h"
#include "SettingsPaths.h"
+// -- #include "UiGuiIndentServer.h"
+// -- #include "UiGuiIniFileParser.h"
+#include "UiGuiSettings.h"
+// -- #include "UiGuiSystemInfo.h"
+#include "UiGuiVersion.h"
#include <tqapplication.h>
-#include <tqtextcodec.h>
#include <tqglobal.h>
-
-// -- #include <string>
-// -- #include <algorithm>
-
-#include "UiGuiVersion.h"
-
#include <tqstring.h>
+#include <tqtextcodec.h>
+// -- #include <algorithm>
#include <iostream>
+// -- #include <string>
+
#include <tclap/CmdLine.h>
// -- using namespace tschweitzer::debugging;
@@ -179,7 +177,7 @@ int main(int argc, char *argv[])
// -- delete indentHandler;
delete mainWindow;
- SettingsPaths::cleanAndRemoveTempDir();
+ UiGuiSettings::deleteInstance();
// -- TSLogger::deleteInstance();
return returnValue;