mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 02:03:36 +02:00
Prevent update dialog from becoming locked
This commit is contained in:
parent
730640068c
commit
d97f930dc9
1 changed files with 2 additions and 2 deletions
|
@ -51,10 +51,10 @@ void UpdateDialog::closeDialog() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void UpdateDialog::hide() {
|
void UpdateDialog::hide() {
|
||||||
((QQuickItem*)parent())->setEnabled(false);
|
((QQuickItem*)parent())->setVisible(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void UpdateDialog::triggerUpgrade() {
|
void UpdateDialog::triggerUpgrade() {
|
||||||
auto applicationUpdater = DependencyManager::get<AutoUpdater>();
|
auto applicationUpdater = DependencyManager::get<AutoUpdater>();
|
||||||
applicationUpdater.data()->performAutoUpdate(applicationUpdater.data()->getBuildData().lastKey());
|
applicationUpdater.data()->performAutoUpdate(applicationUpdater.data()->getBuildData().lastKey());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue