mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 00:13:08 +00:00
Changelog for Pre-release only
This commit is contained in:
parent
02f3679df5
commit
9e6b6ba4d9
@ -189,8 +189,13 @@ void CheckUpdate::setupUI_UpdateAvailable(const QString& downloadUrl, const QStr
|
|||||||
bottomLayout->addWidget(noButton);
|
bottomLayout->addWidget(noButton);
|
||||||
layout->addLayout(bottomLayout);
|
layout->addLayout(bottomLayout);
|
||||||
|
|
||||||
|
QString updateChannel = QString::fromStdString(Config::getUpdateChannel());
|
||||||
// Create text field for changelog
|
// Create text field for changelog
|
||||||
|
|
||||||
|
if (updateChannel == "unstable") {
|
||||||
|
|
||||||
QTextEdit* textField = new QTextEdit(this);
|
QTextEdit* textField = new QTextEdit(this);
|
||||||
|
|
||||||
textField->setReadOnly(true);
|
textField->setReadOnly(true);
|
||||||
textField->setFixedWidth(400);
|
textField->setFixedWidth(400);
|
||||||
textField->setFixedHeight(200);
|
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."));
|
tr("Viewing changelog is only available for the 'unstable' channel."));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
} else {
|
||||||
|
setFixedSize(420, 175);
|
||||||
|
}
|
||||||
|
|
||||||
connect(yesButton, &QPushButton::clicked, this,
|
connect(yesButton, &QPushButton::clicked, this,
|
||||||
[this, downloadUrl]() { DownloadAndInstallUpdate(downloadUrl); });
|
[this, downloadUrl]() { DownloadAndInstallUpdate(downloadUrl); });
|
||||||
|
Loading…
Reference in New Issue
Block a user