[TechDraw] Simplify return logic

This commit is contained in:
Benjamin Bræstrup Sayoc
2023-04-09 16:34:23 +02:00
committed by WandererFan
parent 15fe52a04b
commit ef5fc4f237
14 changed files with 20 additions and 42 deletions

View File

@@ -351,9 +351,8 @@ double QGITile::getSymbolHeight() const
//make symbols larger or smaller than standard
double QGITile::getSymbolFactor() const
{
double s = Preferences::getPreferenceGroup("Decorations")->GetFloat("SymbolFactor", 1.25);
// double s = 1.25;
return s;
// return 1.25;
return Preferences::getPreferenceGroup("Decorations")->GetFloat("SymbolFactor", 1.25);
}
double QGITile::prefFontSize() const