forked from qt-creator/qt-creator
Android: Remove CheckableMessageBox::shouldAskAgain check
Most likely, that was checked in addition to InfoBar::canInfoBeAdded in order to be settings compatible with QtC versions prior to the migration from CheckableMessageBox to InfoBar. But that is at this point 4 Years ago, and should be removed because it causes confusion when reading the code. Change-Id: I76ae6a9ed0c8f9f7fa20b64090d89724588511ed Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -153,8 +153,7 @@ void AndroidPlugin::kitsRestored()
|
||||
|
||||
void AndroidPlugin::askUserAboutAndroidSetup()
|
||||
{
|
||||
if (!Utils::CheckableMessageBox::shouldAskAgain(Core::ICore::settings(), kSetupAndroidSetting)
|
||||
|| !Core::ICore::infoBar()->canInfoBeAdded(kSetupAndroidSetting))
|
||||
if (!Core::ICore::infoBar()->canInfoBeAdded(kSetupAndroidSetting))
|
||||
return;
|
||||
|
||||
Utils::InfoBarEntry
|
||||
|
||||
Reference in New Issue
Block a user