mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-24 19:36:17 +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:
parent
22ca57b1f2
commit
e1ae052185
5 changed files with 70 additions and 5 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue