forked from qt-creator/qt-creator
Improve Updater dialog
Set a proper parent, and mention in the title that this is about Qt. Change-Id: I9f4542267b070c23a7efbe428700a13e8adc9de8 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -164,8 +164,8 @@ void UpdateInfoPlugin::checkForUpdatesFinished()
|
||||
|
||||
if (!document.isNull() && document.firstChildElement().hasChildNodes()) {
|
||||
emit newUpdatesAvailable(true);
|
||||
if (QMessageBox::question(0, tr("Updater"),
|
||||
tr("New updates are available. Do you want to start update?"))
|
||||
if (QMessageBox::question(ICore::dialogParent(), tr("Qt Updater"),
|
||||
tr("New updates are available. Do you want to start the update?"))
|
||||
== QMessageBox::Yes)
|
||||
startUpdater();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user