aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qtsupport/qtsupportplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/qtsupport/qtsupportplugin.cpp')
-rw-r--r--src/plugins/qtsupport/qtsupportplugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qtsupport/qtsupportplugin.cpp b/src/plugins/qtsupport/qtsupportplugin.cpp
index 7a8466f81f..b389e8cf29 100644
--- a/src/plugins/qtsupport/qtsupportplugin.cpp
+++ b/src/plugins/qtsupport/qtsupportplugin.cpp
@@ -135,7 +135,7 @@ static void askAboutQtInstallation()
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);
}