ui/updater: Set modal flag after hiding the dialog

This fixes a bug with older Qt versions which would not remove the modal window from the parent in the setModal() call, resulting in an unusable parent window.

Fixes #368
This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2020-11-02 00:36:57 +01:00
parent 02bdd85ed4
commit 74c621cde5
1 changed files with 1 additions and 1 deletions

View File

@ -109,8 +109,8 @@ void streamfx::ui::updater_dialog::show(streamfx::update_info current, streamfx:
void streamfx::ui::updater_dialog::hide() void streamfx::ui::updater_dialog::hide()
{ {
this->setModal(false);
QDialog::hide(); QDialog::hide();
this->setModal(false);
} }
void streamfx::ui::updater_dialog::on_ok() void streamfx::ui::updater_dialog::on_ok()