mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 16:32:39 +00:00
If size is disabled, it will not appear on the patches screen
This commit is contained in:
parent
8b35728962
commit
245255e814
@ -91,9 +91,11 @@ void CheatsPatches::setupUI() {
|
||||
gameVersionLabel->setAlignment(Qt::AlignLeft);
|
||||
gameInfoLayout->addWidget(gameVersionLabel);
|
||||
|
||||
QLabel* gameSizeLabel = new QLabel(tr("Size: ") + m_gameSize);
|
||||
gameSizeLabel->setAlignment(Qt::AlignLeft);
|
||||
gameInfoLayout->addWidget(gameSizeLabel);
|
||||
if (m_gameSize.left(4) != "0.00") {
|
||||
QLabel* gameSizeLabel = new QLabel(tr("Size: ") + m_gameSize);
|
||||
gameSizeLabel->setAlignment(Qt::AlignLeft);
|
||||
gameInfoLayout->addWidget(gameSizeLabel);
|
||||
}
|
||||
|
||||
// Add a text area for instructions and 'Patch' descriptions
|
||||
instructionsTextEdit = new QTextEdit();
|
||||
|
Loading…
Reference in New Issue
Block a user