diff options
author | Eike Ziller <[email protected]> | 2020-06-17 12:23:44 +0200 |
---|---|---|
committer | Eike Ziller <[email protected]> | 2020-06-18 06:39:54 +0000 |
commit | 7c5ed6f7d99362af743f30916d031d441abc1984 (patch) | |
tree | 7b8ef47da6e256e79f2e0034c0334350907c3057 /src/plugins/android/androidplugin.cpp | |
parent | c70c6ded30610afff34447a65da905e993e0e9b6 (diff) |
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 <[email protected]>
Reviewed-by: Orgad Shaneh <[email protected]>
Diffstat (limited to 'src/plugins/android/androidplugin.cpp')
-rw-r--r-- | src/plugins/android/androidplugin.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/plugins/android/androidplugin.cpp b/src/plugins/android/androidplugin.cpp index 7b5a99f6587..187146a6367 100644 --- a/src/plugins/android/androidplugin.cpp +++ b/src/plugins/android/androidplugin.cpp @@ -47,8 +47,8 @@ #endif #include <coreplugin/icore.h> -#include <coreplugin/infobar.h> #include <utils/checkablemessagebox.h> +#include <utils/infobar.h> #include <projectexplorer/devicesupport/devicemanager.h> #include <projectexplorer/buildconfiguration.h> @@ -194,12 +194,12 @@ void AndroidPlugin::askUserAboutAndroidSetup() || !Core::ICore::infoBar()->canInfoBeAdded(kSetupAndroidSetting)) return; - Core::InfoBarEntry info( - kSetupAndroidSetting, - tr("Would you like to configure Android options? This will ensure " - "Android kits can be usable and all essential packages are installed. " - "To do it later, select Options > Devices > Android."), - Core::InfoBarEntry::GlobalSuppression::Enabled); + Utils::InfoBarEntry + info(kSetupAndroidSetting, + tr("Would you like to configure Android options? This will ensure " + "Android kits can be usable and all essential packages are installed. " + "To do it later, select Options > Devices > Android."), + Utils::InfoBarEntry::GlobalSuppression::Enabled); info.setCustomButtonInfo(tr("Configure Android"), [this] { Core::ICore::infoBar()->removeInfo(kSetupAndroidSetting); Core::ICore::infoBar()->globallySuppressInfo(kSetupAndroidSetting); |