summaryrefslogtreecommitdiffstats
path: root/src/MainWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/MainWindow.cpp')
-rw-r--r--src/MainWindow.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp
index 36700d4..5c50627 100644
--- a/src/MainWindow.cpp
+++ b/src/MainWindow.cpp
@@ -464,10 +464,10 @@ void MainWindow::initIndenter()
m_indentHandler = new IndentHandler(m_currentIndenterID, this, m_centralSplitter);
m_centralSplitter->moveToFirst(m_indentHandler);
-///-- // If _settings for the indenter have changed, let the main window know aboud it.
-///-- connect(m_indentHandler, SIGNAL(indenterSettingsChanged()), this,
-///-- SLOT(indentSettingsChangedSlot()));
-///--
+ // If _settings for the indenter have changed, let the main window know aboud it.
+ connect(m_indentHandler, SIGNAL(indenterSettingsChanged()), this,
+ SLOT(indentSettingsChangedSlot()));
+
///-- // Set this true, so the indenter is called at first program start
///-- _indentSettingsChanged = true;
///-- m_previewToggled = true;
@@ -864,14 +864,14 @@ void MainWindow::sourceCodeChangedSlot()
///-- //m_qSciSourceCodeEditor->SendScintilla(QsciScintillaBase::SCI_SETANCHOR, 50);
}
-///-- /*
-///-- \brief This slot is called whenever one of the indenter _settings are changed.
-///--
-///-- It calls the selected indenter if the preview is turned on. If preview
-///-- is not active a flag is set, that the _settings have changed.
-///-- */
-///-- void MainWindow::indentSettingsChangedSlot()
-///-- {
+/*
+ \brief This slot is called whenever one of the indenter settings are changed.
+
+ It calls the selected indenter if the preview is turned on. If preview
+ is not active, set a flag to indicate that the settings have changed.
+ */
+void MainWindow::indentSettingsChangedSlot()
+{
///-- _indentSettingsChanged = true;
///--
///-- int cursorLine, cursorPos;
@@ -911,7 +911,7 @@ void MainWindow::sourceCodeChangedSlot()
///-- m_qSciSourceCodeEditor->setModified(true); // Has no effect according to TQScintilla docs.
///-- m_documentModified = true;
///-- }
-///-- }
+}
/*
\brief This slot is called whenever the preview button is turned on or off.