diff options
Diffstat (limited to 'src/plugins/qtsupport/qtsupportplugin.cpp')
-rw-r--r-- | src/plugins/qtsupport/qtsupportplugin.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/qtsupport/qtsupportplugin.cpp b/src/plugins/qtsupport/qtsupportplugin.cpp index 7a8466f81f..38c83d11e8 100644 --- a/src/plugins/qtsupport/qtsupportplugin.cpp +++ b/src/plugins/qtsupport/qtsupportplugin.cpp @@ -40,7 +40,6 @@ #include "uicgenerator.h" #include <coreplugin/icore.h> -#include <coreplugin/infobar.h> #include <coreplugin/jsexpander.h> #include <projectexplorer/jsonwizard/jsonwizardfactory.h> @@ -50,6 +49,7 @@ #include <projectexplorer/runcontrol.h> #include <projectexplorer/target.h> +#include <utils/infobar.h> #include <utils/macroexpander.h> const char kHostBins[] = "CurrentProject:QT_HOST_BINS"; @@ -126,16 +126,16 @@ static void askAboutQtInstallation() || !ICore::infoBar()->canInfoBeAdded(kLinkWithQtInstallationSetting)) return; - InfoBarEntry info( + Utils::InfoBarEntry info( kLinkWithQtInstallationSetting, QtSupportPlugin::tr( "Link with a Qt installation to automatically register Qt versions and kits? To do " "this later, select Options > Kits > Qt Versions > Link with Qt."), - InfoBarEntry::GlobalSuppression::Enabled); + Utils::InfoBarEntry::GlobalSuppression::Enabled); info.setCustomButtonInfo(QtSupportPlugin::tr("Link with Qt"), [] { ICore::infoBar()->removeInfo(kLinkWithQtInstallationSetting); ICore::infoBar()->globallySuppressInfo(kLinkWithQtInstallationSetting); - QTimer::singleShot(0, ICore::mainWindow(), &QtOptionsPage::linkWithQt); + QTimer::singleShot(0, ICore::dialogParent(), &QtOptionsPage::linkWithQt); }); ICore::infoBar()->addInfo(info); } |