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 committed by Xaymar
parent 96ea36e07a
commit e42cf4f325

View file

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