From 45374979b2f6e9e99bfcb80a823b8d6f90af5538 Mon Sep 17 00:00:00 2001 From: Alfonso Gregory Date: Wed, 14 Jul 2021 17:13:01 -0400 Subject: [PATCH] Only the first one needs to call the base class during construction --- src/CalcManager/UnitConverter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CalcManager/UnitConverter.cpp b/src/CalcManager/UnitConverter.cpp index 34d42154..9e853803 100644 --- a/src/CalcManager/UnitConverter.cpp +++ b/src/CalcManager/UnitConverter.cpp @@ -78,7 +78,7 @@ bool UnitConverter::CheckLoad() { if (m_categories.empty()) { - UnitConverter::ResetCategoriesAndRatios(); + ResetCategoriesAndRatios(); } return !m_categories.empty(); }