[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

@@ -942,8 +942,7 @@ int QGIViewBalloon::prefDefaultArrow() const { return Preferences::balloonArrow(
//when would you want a crooked pyramid?
bool QGIViewBalloon::prefOrthoPyramid() const
{
bool ortho = Preferences::getPreferenceGroup("Decorations")->GetBool("PyramidOrtho", true);
return ortho;
return Preferences::getPreferenceGroup("Decorations")->GetBool("PyramidOrtho", true);
}
DrawView* QGIViewBalloon::getSourceView() const