summaryrefslogtreecommitdiff
path: root/src/plugins/cppeditor
diff options
context:
space:
mode:
authorAndre Hartmann <aha_1980@gmx.de>2019-08-15 20:41:31 +0200
committerAndré Hartmann <aha_1980@gmx.de>2019-09-12 06:45:06 +0000
commitb292c30a13bdfaaad847f4fe07a96d615a39e954 (patch)
tree374aac30d67af631826cc766e60e7d89c6f5782e /src/plugins/cppeditor
parent545552cc134886f12864f3f6acf2265f768b8ec0 (diff)
downloadqt-creator-b292c30a13bdfaaad847f4fe07a96d615a39e954.tar.gz
Core: Make InfoBar::GlobalSuppressionMode an enum class
Change-Id: I859a727196a887f7699a667fbe07e1bfead4cb2b Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/cppeditor')
-rw-r--r--src/plugins/cppeditor/cppeditordocument.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cppeditor/cppeditordocument.cpp b/src/plugins/cppeditor/cppeditordocument.cpp
index e2d85d0f41..5d85bd638c 100644
--- a/src/plugins/cppeditor/cppeditordocument.cpp
+++ b/src/plugins/cppeditor/cppeditordocument.cpp
@@ -357,7 +357,7 @@ void CppEditorDocument::showHideInfoBarAboutMultipleParseContexts(bool show)
Core::InfoBarEntry info(id,
tr("Note: Multiple parse contexts are available for this file. "
"Choose the preferred one from the editor toolbar."),
- Core::InfoBarEntry::GlobalSuppressionEnabled);
+ Core::InfoBarEntry::GlobalSuppression::Enabled);
info.removeCancelButton();
if (infoBar()->canInfoBeAdded(id))
infoBar()->addInfo(info);