mirror of
https://git.citron-emu.org/citron/emulator
synced 2025-12-21 11:33:35 +00:00
Make updater dialog non-modal
Force the updater dialog to be non-modal so users can continue using the application while checking for or downloading updates. This improves user experience by not blocking interaction with the main window. The dialog is explicitly set to non-modal in the constructor, overriding any setting from the UI file. Signed-off-by: Zephyron <zephyron@citron-emu.org>
This commit is contained in:
@@ -48,6 +48,9 @@ UpdaterDialog::UpdaterDialog(QWidget* parent)
|
||||
|
||||
ui->setupUi(this);
|
||||
|
||||
// Force the dialog to be non-modal, overriding any setting from the .ui file.
|
||||
setModal(false);
|
||||
|
||||
// Disable the default link handling behavior of the QTextBrowser.
|
||||
ui->changelogText->setOpenLinks(false);
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<normaloff>:/icons/default/citron.ico</normaloff>:/icons/default/citron.ico</iconset>
|
||||
</property>
|
||||
<property name="modal">
|
||||
<bool>true</bool>
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<property name="margin">
|
||||
|
||||
Reference in New Issue
Block a user