forked from qt-creator/qt-creator
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 <alessandro.portale@qt.io> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
|
||||
#include <functional>
|
||||
|
||||
namespace Core {
|
||||
namespace Utils {
|
||||
class InfoBar;
|
||||
}
|
||||
|
||||
@@ -52,7 +52,7 @@ public:
|
||||
static Actions createShowInfoBarActions(const ActionCreator &actionCreator);
|
||||
|
||||
public:
|
||||
explicit MinimizableInfoBars(Core::InfoBar &infoBar, QObject *parent = nullptr);
|
||||
explicit MinimizableInfoBars(Utils::InfoBar &infoBar, QObject *parent = nullptr);
|
||||
|
||||
// Expected call order: processHasProjectPart(), processHeaderDiagnostics()
|
||||
void processHasProjectPart(bool hasProjectPart);
|
||||
@@ -70,7 +70,7 @@ private:
|
||||
const DiagnosticWidgetCreator &diagnosticWidgetCreator);
|
||||
|
||||
private:
|
||||
Core::InfoBar &m_infoBar;
|
||||
Utils::InfoBar &m_infoBar;
|
||||
|
||||
bool m_hasProjectPart = true;
|
||||
DiagnosticWidgetCreator m_diagnosticWidgetCreator;
|
||||
|
||||
Reference in New Issue
Block a user