summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
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;