From a962ba08bae3b6d72c4974552db7768d1904579b Mon Sep 17 00:00:00 2001 From: Salanto <62221668+Salanto@users.noreply.github.com> Date: Wed, 9 Aug 2023 21:12:05 +0200 Subject: [PATCH] Fix incorrect scaling check This entire system needs a refactor anyway, good enough^TM --- src/text_file_functions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/text_file_functions.cpp b/src/text_file_functions.cpp index 8aba93f..9741128 100644 --- a/src/text_file_functions.cpp +++ b/src/text_file_functions.cpp @@ -153,7 +153,7 @@ Qt::TransformationMode AOApplication::get_scaling(QString p_scaling) if (p_scaling.isEmpty()) p_scaling = Options::getInstance().defaultScalingMode(); - if (p_scaling == "smooth") + if (p_scaling == "Smooth") return Qt::SmoothTransformation; return Qt::FastTransformation; }