mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-27 13:29:58 +01:00
Clean code
This commit is contained in:
@@ -126,8 +126,6 @@ GeneralConfigurationPage::GeneralConfigurationPage(QWidget *parent) :
|
||||
ui->m_custom_tbt_path_cb->setItemData(1, path, Qt::DisplayRole);
|
||||
ui->m_custom_tbt_path_cb->blockSignals(false);
|
||||
}
|
||||
|
||||
ui->m_use_pugi_xml->setChecked(settings.value("use_pugixml").toBool());
|
||||
|
||||
fillLang();
|
||||
}
|
||||
@@ -236,8 +234,6 @@ void GeneralConfigurationPage::applyConf()
|
||||
if (path != settings.value("elements-collections/custom-tbt-path").toString()) {
|
||||
QETApp::resetUserElementsDir();
|
||||
}
|
||||
|
||||
settings.setValue("use_pugixml", ui->m_use_pugi_xml->isChecked()? true : false);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -325,13 +325,6 @@ Vous pouvez spécifier ici la valeur par défaut de ce champ pour les éléments
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="m_use_pugi_xml">
|
||||
<property name="text">
|
||||
<string>Utiliser pugi xml pour le chargement des collections.</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="tab_6">
|
||||
|
||||
Reference in New Issue
Block a user