mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-16 00:29:09 +00:00
QT: Various interface fixes (#2496)
* QT: Various interface fixes * fix close without saving * + * + using the save and close buttons, everything works fine, but when using the X button it doesn't work very well... * fix close (X) without saving
This commit is contained in:
@@ -26,8 +26,10 @@
|
||||
#include <QTextEdit>
|
||||
#include <QVBoxLayout>
|
||||
#include <QXmlStreamReader>
|
||||
#include <common/logging/log.h>
|
||||
|
||||
#include "cheats_patches.h"
|
||||
#include "common/config.h"
|
||||
#include "common/logging/log.h"
|
||||
#include "common/memory_patcher.h"
|
||||
#include "common/path_util.h"
|
||||
#include "core/module.h"
|
||||
@@ -92,7 +94,7 @@ void CheatsPatches::setupUI() {
|
||||
gameVersionLabel->setAlignment(Qt::AlignLeft);
|
||||
gameInfoLayout->addWidget(gameVersionLabel);
|
||||
|
||||
if (m_gameSize.left(4) != "0.00") {
|
||||
if (Config::GetLoadGameSizeEnabled()) {
|
||||
QLabel* gameSizeLabel = new QLabel(tr("Size: ") + m_gameSize);
|
||||
gameSizeLabel->setAlignment(Qt::AlignLeft);
|
||||
gameInfoLayout->addWidget(gameSizeLabel);
|
||||
|
||||
Reference in New Issue
Block a user