From c97f0af531ec41fdc3619fd989bd681c409f029b Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Thu, 21 Apr 2022 15:24:40 +0200 Subject: [PATCH] ClangCodeModel: Don't ignore changes to clangd doc update threshold Changing the document update threshold value had no effect in the per- project settings. Change-Id: Ibd6e47bba3e0a77ed18b97486eda17718c46c59d Reviewed-by: Reviewed-by: Qt CI Bot Reviewed-by: David Schulz --- src/plugins/cppeditor/cppcodemodelsettingspage.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/cppeditor/cppcodemodelsettingspage.cpp b/src/plugins/cppeditor/cppcodemodelsettingspage.cpp index 780ae671ccd..bea6d5fe33d 100644 --- a/src/plugins/cppeditor/cppcodemodelsettingspage.cpp +++ b/src/plugins/cppeditor/cppcodemodelsettingspage.cpp @@ -381,6 +381,8 @@ ClangdSettingsWidget::ClangdSettingsWidget(const ClangdSettings::Data &settingsD this, &ClangdSettingsWidget::settingsDataChanged); connect(&d->threadLimitSpinBox, qOverload(&QSpinBox::valueChanged), this, &ClangdSettingsWidget::settingsDataChanged); + connect(&d->documentUpdateThreshold, qOverload(&QSpinBox::valueChanged), + this, &ClangdSettingsWidget::settingsDataChanged); connect(&d->clangdChooser, &Utils::PathChooser::pathChanged, this, &ClangdSettingsWidget::settingsDataChanged); }