From 7c5ed6f7d99362af743f30916d031d441abc1984 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Wed, 17 Jun 2020 12:23:44 +0200 Subject: Move InfoBar to Utils The only reason it was required to be in Core plugin, was its use of Id, which now is available in Utils. Change-Id: I66ce863c24924e6448d339b3422538a7fe167336 Reviewed-by: Alessandro Portale Reviewed-by: Orgad Shaneh --- src/plugins/designer/formeditorw.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/plugins/designer') diff --git a/src/plugins/designer/formeditorw.cpp b/src/plugins/designer/formeditorw.cpp index 0076d62134b..3bcecb05ee5 100644 --- a/src/plugins/designer/formeditorw.cpp +++ b/src/plugins/designer/formeditorw.cpp @@ -34,19 +34,19 @@ #include "designercontext.h" #include -#include -#include +#include +#include #include +#include #include -#include -#include -#include -#include -#include #include -#include +#include +#include +#include #include +#include #include +#include #include #include @@ -774,8 +774,8 @@ IEditor *FormEditorData::createEditor() m_toolBar->addEditor(formWindowEditor); if (formWindowEditor) { - InfoBarEntry info(Id(Constants::INFO_READ_ONLY), - tr("This file can only be edited in Design mode.")); + Utils::InfoBarEntry info(Id(Constants::INFO_READ_ONLY), + tr("This file can only be edited in Design mode.")); info.setCustomButtonInfo(tr("Switch Mode"), []() { ModeManager::activateMode(Core::Constants::MODE_DESIGN); }); formWindowEditor->document()->infoBar()->addInfo(info); } -- cgit v1.2.3