mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-09-12 04:21:57 +00:00
Changelog for Pre-release only
This commit is contained in:
parent
02f3679df5
commit
9e6b6ba4d9
1 changed files with 38 additions and 30 deletions
|
@ -189,8 +189,13 @@ void CheckUpdate::setupUI_UpdateAvailable(const QString& downloadUrl, const QStr
|
|||
bottomLayout->addWidget(noButton);
|
||||
layout->addLayout(bottomLayout);
|
||||
|
||||
QString updateChannel = QString::fromStdString(Config::getUpdateChannel());
|
||||
// Create text field for changelog
|
||||
|
||||
if (updateChannel == "unstable") {
|
||||
|
||||
QTextEdit* textField = new QTextEdit(this);
|
||||
|
||||
textField->setReadOnly(true);
|
||||
textField->setFixedWidth(400);
|
||||
textField->setFixedHeight(200);
|
||||
|
@ -224,6 +229,9 @@ void CheckUpdate::setupUI_UpdateAvailable(const QString& downloadUrl, const QStr
|
|||
tr("Viewing changelog is only available for the 'unstable' channel."));
|
||||
}
|
||||
});
|
||||
} else {
|
||||
setFixedSize(420, 175);
|
||||
}
|
||||
|
||||
connect(yesButton, &QPushButton::clicked, this,
|
||||
[this, downloadUrl]() { DownloadAndInstallUpdate(downloadUrl); });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue