Fix SectionLine preference location

This commit is contained in:
wandererfan
2018-12-08 14:47:01 -05:00
committed by Yorik van Havre
parent 0caa169eb0
commit 1d8cc22ed4

View File

@@ -280,7 +280,7 @@ QColor QGISectionLine::getSectionColor()
Qt::PenStyle QGISectionLine::getSectionStyle()
{
Base::Reference<ParameterGrp> hGrp = App::GetApplication().GetUserParameter().GetGroup("BaseApp")->
GetGroup("Preferences")->GetGroup("Mod/TechDraw");
GetGroup("Preferences")->GetGroup("Mod/TechDraw/Decorations");
Qt::PenStyle sectStyle = static_cast<Qt::PenStyle> (hGrp->GetInt("SectionLine", 2));
return sectStyle;
}