diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-10-31 00:01:59 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-10-31 00:01:59 +0900 |
commit | 6b2298c21d21f5b2724ba6ec4b2b8c6ba2e76f21 (patch) | |
tree | 8543d26024c43cc9de7ec06b9e2a6c478fde546a /src/MainWindow.cpp | |
parent | 95f2a9c8979cb2606027efd7e1a831676860a8b6 (diff) | |
download | universal-indent-gui-tqt-6b2298c21d21f5b2724ba6ec4b2b8c6ba2e76f21.tar.gz universal-indent-gui-tqt-6b2298c21d21f5b2724ba6ec4b2b8c6ba2e76f21.zip |
Clean up UiSettings class
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/MainWindow.cpp')
-rw-r--r-- | src/MainWindow.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index e4602ee..f674d30 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -275,8 +275,6 @@ void MainWindow::initToolBar() m_toolBarWidget = new ToolBarWidget(toolBar); // Connect the tool bar widgets to their functions. -///-- m_settings->registerObjectProperty(_toolBarWidget->cbEnableSyntaxHL, "checked", -///-- "SyntaxHighlightingEnabled"); m_toolBarWidget->cbEnableSyntaxHL->hide(); m_toolBarWidget->pbOpenSourceFile->setIconSet(TQPixmap(ICONS_PATH + "document-open.png")); @@ -293,8 +291,6 @@ void MainWindow::initToolBar() connect(m_toolBarWidget->cbLivePreview, SIGNAL(toggled(bool)), this, SLOT(previewTurnedOnOff(bool))); connect(m_toolBarWidget->cbLivePreview, SIGNAL(toggled(bool)), actionLiveIndentPreview, SLOT(setOn(bool))); -///-- connect(actionLiveIndentPreview, SIGNAL(toggled( -///-- bool)), m_toolBarWidget->cbLivePreview, SLOT(setChecked(bool))); } /* @@ -451,10 +447,6 @@ void MainWindow::initIndenter() // Set this true, so the indenter is called at first program start m_indentSettingsChanged = true; m_previewToggled = true; - -///-- // Handle if indenter parameter tool tips are enabled -///-- m_settings->registerObjectProperty(actionIndenterParameterTooltipsEnabled, -///-- "checked", "indenterParameterTooltipsEnabled"); } /* |