forked from qt-creator/qt-creator
Core: Make InfoBar::GlobalSuppressionMode an enum class
Change-Id: I859a727196a887f7699a667fbe07e1bfead4cb2b Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
committed by
André Hartmann
parent
545552cc13
commit
b292c30a13
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user