Qt: Use Qt::SmoothTransformation for Cheats Manager (#2450)

This commit is contained in:
¥IGA 2025-02-17 11:36:41 +01:00 committed by GitHub
parent 0425bd0fd6
commit e9b44af469
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -71,7 +71,8 @@ void CheatsPatches::setupUI() {
QLabel* gameImageLabel = new QLabel();
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 {
gameImageLabel->setText(tr("No Image Available"));
}
@ -1431,4 +1432,4 @@ void CheatsPatches::onPatchCheckBoxHovered(QCheckBox* checkBox, bool hovered) {
} else {
instructionsTextEdit->setText(defaultTextEdit_MSG);
}
}
}