Index: sources/storage/TreatmentLog.cpp =================================================================== diff -u -r54c4136d95375116e6daf23b7d4179159cf13d0c -r40c09957821fb3779fa06214a856c20cca110e56 --- sources/storage/TreatmentLog.cpp (.../TreatmentLog.cpp) (revision 54c4136d95375116e6daf23b7d4179159cf13d0c) +++ sources/storage/TreatmentLog.cpp (.../TreatmentLog.cpp) (revision 40c09957821fb3779fa06214a856c20cca110e56) @@ -86,11 +86,12 @@ // TODO : The settings needs modification not only to define the category and groups in a common header but also the settings itself needs some mods. // - the category shall become as part of the group // - the structure of the settings should become horizontal which vertical now. - QString mAcidConcentrateType = _Settings.key("Acid Concentrate" , vData.mAcidConcentrateType ); - QString mBicarbonateConcentrateType = _Settings.key("Bicarbonate Concentrate" , vData.mBicarbonateConcentrateType ); - QString mDialyzerType = _Settings.key("Dialyzer Type" , vData.mDialyzerType ); - QString mHeparinType = _Settings.key("Heparin Type" , vData.mHeparinType ); - QString mWaterSampleTestResult = _Settings.key("Water Sample Result" , vData.mWaterSampleTestResult ); + QString mCategory = Storage::Settings_Category_ConfigurationsDataList; + QString mAcidConcentrateType = _Settings.key(mCategory, "Acid Concentrate" , vData.mAcidConcentrateType ); + QString mBicarbonateConcentrateType = _Settings.key(mCategory, "Bicarbonate Concentrate" , vData.mBicarbonateConcentrateType ); + QString mDialyzerType = _Settings.key(mCategory, "Dialyzer Type" , vData.mDialyzerType ); + QString mHeparinType = _Settings.key(mCategory, "Heparin Type" , vData.mHeparinType ); + QString mWaterSampleTestResult = _Settings.key(mCategory, "Water Sample Result" , vData.mWaterSampleTestResult ); // init/fill/clear the _values