From 6b2298c21d21f5b2724ba6ec4b2b8c6ba2e76f21 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 31 Oct 2023 00:01:59 +0900 Subject: Clean up UiSettings class Signed-off-by: Michele Calgaro --- src/MainWindow.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/MainWindow.cpp') 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"); } /* -- cgit v1.2.3