aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSalanto <62221668+Salanto@users.noreply.github.com>2023-08-09 21:12:05 +0200
committerSalanto <62221668+Salanto@users.noreply.github.com>2023-08-09 21:12:05 +0200
commita962ba08bae3b6d72c4974552db7768d1904579b (patch)
treecf7f97cd414d3c802fbd7ec6ca98f4968b4657d6
parent6daaccaa4319d074217885099eb038cf011db9e7 (diff)
Fix incorrect scaling check
This entire system needs a refactor anyway, good enough^TM
-rw-r--r--src/text_file_functions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text_file_functions.cpp b/src/text_file_functions.cpp
index 8aba93fd..9741128a 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;
}