diff --git a/qt_helpers.hpp b/qt_helpers.hpp index cf86f585b..04e082e66 100644 --- a/qt_helpers.hpp +++ b/qt_helpers.hpp @@ -31,12 +31,12 @@ auto const& me = mo.enumerator (mo.indexOfEnumerator (#ENUM)); \ if (buffer) \ { \ - v = static_cast (me.keyToValue (buffer, &ok)); \ - delete [] buffer; \ + v = static_cast (me.keyToValue (buffer, &ok)); \ + delete [] buffer; \ } \ if (!ok) \ { \ - v = static_cast (me.value (0)); \ + v = static_cast (me.value (0)); \ } \ return is; \ }