Fix incorrect scaling check
This entire system needs a refactor anyway, good enough^TM
This commit is contained in:
parent
6daaccaa43
commit
a962ba08ba
@ -153,7 +153,7 @@ Qt::TransformationMode AOApplication::get_scaling(QString p_scaling)
|
|||||||
if (p_scaling.isEmpty())
|
if (p_scaling.isEmpty())
|
||||||
p_scaling = Options::getInstance().defaultScalingMode();
|
p_scaling = Options::getInstance().defaultScalingMode();
|
||||||
|
|
||||||
if (p_scaling == "smooth")
|
if (p_scaling == "Smooth")
|
||||||
return Qt::SmoothTransformation;
|
return Qt::SmoothTransformation;
|
||||||
return Qt::FastTransformation;
|
return Qt::FastTransformation;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user