mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-10 05:38:49 +00:00
Qt: Use Qt::SmoothTransformation for Cheats Manager (#2450)
This commit is contained in:
@@ -71,7 +71,8 @@ void CheatsPatches::setupUI() {
|
|||||||
|
|
||||||
QLabel* gameImageLabel = new QLabel();
|
QLabel* gameImageLabel = new QLabel();
|
||||||
if (!m_gameImage.isNull()) {
|
if (!m_gameImage.isNull()) {
|
||||||
gameImageLabel->setPixmap(m_gameImage.scaled(275, 275, Qt::KeepAspectRatio));
|
gameImageLabel->setPixmap(
|
||||||
|
m_gameImage.scaled(275, 275, Qt::KeepAspectRatio, Qt::SmoothTransformation));
|
||||||
} else {
|
} else {
|
||||||
gameImageLabel->setText(tr("No Image Available"));
|
gameImageLabel->setText(tr("No Image Available"));
|
||||||
}
|
}
|
||||||
@@ -1431,4 +1432,4 @@ void CheatsPatches::onPatchCheckBoxHovered(QCheckBox* checkBox, bool hovered) {
|
|||||||
} else {
|
} else {
|
||||||
instructionsTextEdit->setText(defaultTextEdit_MSG);
|
instructionsTextEdit->setText(defaultTextEdit_MSG);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user