mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 08:22:32 +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);
|
gameVersionLabel->setAlignment(Qt::AlignLeft);
|
||||||
gameInfoLayout->addWidget(gameVersionLabel);
|
gameInfoLayout->addWidget(gameVersionLabel);
|
||||||
|
|
||||||
QLabel* gameSizeLabel = new QLabel(tr("Size: ") + m_gameSize);
|
if (m_gameSize.left(4) != "0.00") {
|
||||||
gameSizeLabel->setAlignment(Qt::AlignLeft);
|
QLabel* gameSizeLabel = new QLabel(tr("Size: ") + m_gameSize);
|
||||||
gameInfoLayout->addWidget(gameSizeLabel);
|
gameSizeLabel->setAlignment(Qt::AlignLeft);
|
||||||
|
gameInfoLayout->addWidget(gameSizeLabel);
|
||||||
|
}
|
||||||
|
|
||||||
// Add a text area for instructions and 'Patch' descriptions
|
// Add a text area for instructions and 'Patch' descriptions
|
||||||
instructionsTextEdit = new QTextEdit();
|
instructionsTextEdit = new QTextEdit();
|
||||||
|
Loading…
Reference in New Issue
Block a user