Index: sources/view/hd/data/VTreatmentRanges.cpp =================================================================== diff -u -r53ec19e12772f2a73190323438106dc93e4a12df -r9de37dc1a1e423fe5798c76313d1574a8b638047 --- sources/view/hd/data/VTreatmentRanges.cpp (.../VTreatmentRanges.cpp) (revision 53ec19e12772f2a73190323438106dc93e4a12df) +++ sources/view/hd/data/VTreatmentRanges.cpp (.../VTreatmentRanges.cpp) (revision 9de37dc1a1e423fe5798c76313d1574a8b638047) @@ -54,7 +54,7 @@ */ void View::VTreatmentRanges::doSaveAcidConcentrate (const QString &vOption) { - QString mCategory = Storage::Settings_Category_DataList; + const QString mCategory = Storage::Settings_Category_DataList; _Settings.add(mCategory, "Acid Concentrate Options", @@ -71,12 +71,12 @@ * \param vSet - Bool to only clear options list if combobox is active * \details Clear any custum Acid Concentrate entered by user */ -void View::VTreatmentRanges::doClearAcidConcentrate (const bool &vSet) +void View::VTreatmentRanges::doClearAcidConcentrate (const bool vSet) { if ( ! vSet ) { return; } - QString mCategory = Storage::Settings_Category_DataList; - int size = _Settings.keys(mCategory, "Acid Concentrate Options" ).size(); + const QString mCategory = Storage::Settings_Category_DataList; + const int size = _Settings.keys(mCategory, "Acid Concentrate Options" ).size(); for ( int i = size - 1; i >= 0; --i ) { // remove any populated values. The original from .config are empty strings