summaryrefslogtreecommitdiffstats
path: root/src/MainWindow.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/MainWindow.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/MainWindow.cpp')
-rw-r--r--src/MainWindow.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp
index 72e28a1..81326ab 100644
--- a/src/MainWindow.cpp
+++ b/src/MainWindow.cpp
@@ -19,19 +19,19 @@
#include "config.h"
#include "MainWindow.h"
-#include "UiGuiVersion.h"
///-- #include "debugging/TSLogger.h"
-///-- #include "SettingsPaths.h"
-///--
-#include "ToolBarWidget.h"
+
#include "AboutDialog.h"
+#include "SettingsPaths.h"
+#include "UiGuiSettings.h"
+#include "UiGuiVersion.h"
+#include "ToolBarWidget.h"
///-- #include "AboutDialogGraphicsView.h"
-///-- #include "UiGuiSettings.h"
///-- #include "UiGuiSettingsDialog.h"
///-- #include "UiGuiHighlighter.h"
///-- #include "IndentHandler.h"
-///--
+
#include <tqpixmap.h>
#include <tqaction.h>
#include <tqcheckbox.h>
@@ -89,9 +89,9 @@ MainWindow::MainWindow(TQString file2OpenOnStart, TQWidget *parent) :
///-- // Init of some variables.
///-- _sourceCodeChanged = false;
///-- _scrollPositionChanged = false;
-///--
-///-- // Create the _settings object, which loads all UiGui settings from a file.
-///-- _settings = UiGuiSettings::getInstance();
+
+ // Create the _settings object, which loads all UiGui settings from a file.
+ m_settings = UiGuiSettings::getInstance();
///--
///-- // Initialize the language of the application.
///-- initApplicationLanguage();