Manager: Fix controls in the update details dialog not working
This commit is contained in:
@@ -67,7 +67,7 @@ UpdateCheckDialog::downloadComplete(const UpdateCheck::UpdateResult &result)
|
||||
return;
|
||||
}
|
||||
|
||||
const auto updateDetails = new UpdateDetails(result);
|
||||
const auto updateDetails = new UpdateDetails(result, this);
|
||||
connect(updateDetails, &QDialog::accepted, [this] {
|
||||
accept();
|
||||
});
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
|
||||
UpdateDetails::
|
||||
UpdateDetails(const UpdateCheck::UpdateResult &updateResult, QWidget *parent) : ui(new Ui::UpdateDetails)
|
||||
UpdateDetails(const UpdateCheck::UpdateResult &updateResult, QWidget *parent) : QDialog(parent), ui(new Ui::UpdateDetails)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
setWindowTitle("86Box Update");
|
||||
|
||||
@@ -183,7 +183,7 @@ VMManagerMainWindow::checkForUpdatesTriggered()
|
||||
# ifdef RELEASE_BUILD
|
||||
updateChannel = UpdateCheck::UpdateChannel::Stable;
|
||||
# endif
|
||||
const auto updateCheck = new UpdateCheckDialog(updateChannel);
|
||||
const auto updateCheck = new UpdateCheckDialog(updateChannel, this);
|
||||
updateCheck->exec();
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -51,7 +51,7 @@ private slots:
|
||||
void vmmSelectionChanged(const QModelIndex ¤tSelection, QProcess::ProcessState processState) const;
|
||||
void preferencesTriggered();
|
||||
#if EMU_BUILD_NUM != 0
|
||||
static void checkForUpdatesTriggered();
|
||||
void checkForUpdatesTriggered();
|
||||
#endif
|
||||
|
||||
void on_actionExit_triggered();
|
||||
|
||||
Reference in New Issue
Block a user