MinimizableInfoBars: Consolidate IDs

For the info bar and the settings. Reduces the information that we need
to know and pass on.

Change-Id: Ia1c352dc0ed9375534fbbf2c3c0bc879725fa3d5
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Eike Ziller
2022-05-03 12:18:16 +02:00
parent 2d6a36742b
commit 88eb4c03f6
2 changed files with 21 additions and 23 deletions

View File

@@ -58,11 +58,9 @@ public:
private:
void createActions();
QString settingsKey(const QString &id) const;
bool showHeaderErrorInfoBar() const;
void setShowHeaderErrorInfoBar(bool show);
bool showNoProjectInfoBar() const;
void setShowNoProjectInfoBar(bool show);
QString settingsKey(const Utils::Id &id) const;
bool showInInfoBar(const Utils::Id &id) const;
void setShowInInfoBar(const Utils::Id &id, bool show);
void updateNoProjectConfiguration();