mirror of
https://github.com/lubosz/overte.git
synced 2025-04-16 15:30:11 +02:00
Merge pull request #6868 from jherico/update_dialog
Prevent update dialog from becoming locked
This commit is contained in:
commit
11c30302b2
1 changed files with 2 additions and 2 deletions
|
@ -51,10 +51,10 @@ void UpdateDialog::closeDialog() {
|
|||
}
|
||||
|
||||
void UpdateDialog::hide() {
|
||||
((QQuickItem*)parent())->setEnabled(false);
|
||||
((QQuickItem*)parent())->setVisible(false);
|
||||
}
|
||||
|
||||
void UpdateDialog::triggerUpgrade() {
|
||||
auto applicationUpdater = DependencyManager::get<AutoUpdater>();
|
||||
applicationUpdater.data()->performAutoUpdate(applicationUpdater.data()->getBuildData().lastKey());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue