From ca7e6bd1b178ead1017435cab8e2cf94d35eb4f2 Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Mon, 26 Aug 2019 15:20:02 +0200 Subject: [PATCH] ProjectExplorer: Fix restoring the issues pane warning button state The wrong button function was called. This does not fully fix the linked problem for the default session, because there is the additional issue of TaskView::loadSettings() not getting called at all. Task-number: QTCREATORBUG-19388 Change-Id: I64dcec9c6d07c8ac614c9a2ecd783e7eaa1a204c Reviewed-by: Eike Ziller --- src/plugins/projectexplorer/taskwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/projectexplorer/taskwindow.cpp b/src/plugins/projectexplorer/taskwindow.cpp index d864c8f5854..77fe6455edd 100644 --- a/src/plugins/projectexplorer/taskwindow.cpp +++ b/src/plugins/projectexplorer/taskwindow.cpp @@ -427,7 +427,7 @@ void TaskWindow::loadSettings() if (value.isValid()) { bool includeWarnings = value.toBool(); d->m_filter->setFilterIncludesWarnings(includeWarnings); - d->m_filterWarningsButton->setDown(d->m_filter->filterIncludesWarnings()); + d->m_filterWarningsButton->setChecked(d->m_filter->filterIncludesWarnings()); } }