Sync code default values with Pref defaults

This commit is contained in:
wandererfan
2018-03-10 16:34:57 -05:00
committed by wmayer
parent 74375f6623
commit 5d363b450a
6 changed files with 10 additions and 10 deletions

View File

@@ -43,7 +43,7 @@ QGISectionLine::QGISectionLine()
{
m_symbol = "";
m_symSize = 0.0;
m_extLen = Rez::guiX(8.0);
m_arrowSize = 0.0;
@@ -181,7 +181,7 @@ Qt::PenStyle QGISectionLine::getSectionStyle()
{
Base::Reference<ParameterGrp> hGrp = App::GetApplication().GetUserParameter().GetGroup("BaseApp")->
GetGroup("Preferences")->GetGroup("Mod/TechDraw");
Qt::PenStyle sectStyle = static_cast<Qt::PenStyle> (hGrp->GetInt("SectionLine", 4));
Qt::PenStyle sectStyle = static_cast<Qt::PenStyle> (hGrp->GetInt("SectionLine", 2));
return sectStyle;
}