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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const auto updateDetails = new UpdateDetails(result);
|
const auto updateDetails = new UpdateDetails(result, this);
|
||||||
connect(updateDetails, &QDialog::accepted, [this] {
|
connect(updateDetails, &QDialog::accepted, [this] {
|
||||||
accept();
|
accept();
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
UpdateDetails::
|
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);
|
ui->setupUi(this);
|
||||||
setWindowTitle("86Box Update");
|
setWindowTitle("86Box Update");
|
||||||
|
|||||||
@@ -183,7 +183,7 @@ VMManagerMainWindow::checkForUpdatesTriggered()
|
|||||||
# ifdef RELEASE_BUILD
|
# ifdef RELEASE_BUILD
|
||||||
updateChannel = UpdateCheck::UpdateChannel::Stable;
|
updateChannel = UpdateCheck::UpdateChannel::Stable;
|
||||||
# endif
|
# endif
|
||||||
const auto updateCheck = new UpdateCheckDialog(updateChannel);
|
const auto updateCheck = new UpdateCheckDialog(updateChannel, this);
|
||||||
updateCheck->exec();
|
updateCheck->exec();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ private slots:
|
|||||||
void vmmSelectionChanged(const QModelIndex ¤tSelection, QProcess::ProcessState processState) const;
|
void vmmSelectionChanged(const QModelIndex ¤tSelection, QProcess::ProcessState processState) const;
|
||||||
void preferencesTriggered();
|
void preferencesTriggered();
|
||||||
#if EMU_BUILD_NUM != 0
|
#if EMU_BUILD_NUM != 0
|
||||||
static void checkForUpdatesTriggered();
|
void checkForUpdatesTriggered();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void on_actionExit_triggered();
|
void on_actionExit_triggered();
|
||||||
|
|||||||
Reference in New Issue
Block a user