From e9b44af46969dd0f19ef2b89d1e6b597dba32695 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C2=A5IGA?= <164882787+Xphalnos@users.noreply.github.com> Date: Mon, 17 Feb 2025 11:36:41 +0100 Subject: [PATCH] Qt: Use Qt::SmoothTransformation for Cheats Manager (#2450) --- src/qt_gui/cheats_patches.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/qt_gui/cheats_patches.cpp b/src/qt_gui/cheats_patches.cpp index e9db88381..01227d822 100644 --- a/src/qt_gui/cheats_patches.cpp +++ b/src/qt_gui/cheats_patches.cpp @@ -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); } -} \ No newline at end of file +}