Commit f0b38d10 authored by Ralf Habacker's avatar Ralf Habacker
Browse files

Use current settings object instead of the global one

CCBUG:414537
parent a92ee1f2
...@@ -77,7 +77,7 @@ void UIOptionsPage::setupPage() ...@@ -77,7 +77,7 @@ void UIOptionsPage::setupPage()
uiPageLayout->addWidget(boxAssocs); uiPageLayout->addWidget(boxAssocs);
m_angularLinesCB = new QCheckBox(i18n("Use angular association lines"), boxAssocs); m_angularLinesCB = new QCheckBox(i18n("Use angular association lines"), boxAssocs);
m_angularLinesCB->setChecked(Settings::OptionState().generalState.angularlines); m_angularLinesCB->setChecked(m_options->generalState.angularlines);
layoutAssocs->addWidget(m_angularLinesCB, 0, 0); layoutAssocs->addWidget(m_angularLinesCB, 0, 0);
m_layoutTypeW = new SelectLayoutTypeWidget(i18n("Create new association lines as:"), Settings::optionState().generalState.layoutType, boxAssocs); m_layoutTypeW = new SelectLayoutTypeWidget(i18n("Create new association lines as:"), Settings::optionState().generalState.layoutType, boxAssocs);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment