https://bugs.kde.org/show_bug.cgi?id=495204
--- Comment #2 from Ralf Habacker <ralf.habac...@freenet.de> --- As far as I can see from the source locations at 1. https://invent.kde.org/office/kmymoney/-/blob/master/kmymoney/mymoney/mymoneykeyvaluecontainer.h#L97 /** * convenience method for @c enum */ template<typename T> T value(const QString& key, T defaultValue) const { return static_cast<T>(value(key, static_cast<int>(defaultValue))); } 2. https://invent.kde.org/office/kmymoney/-/blob/master/kmymoney/mymoney/mymoneykeyvaluecontainer.h#L117 /** * convenience method for integral types (except bool) */ template<typename T> void setValue(const QString& key, T value, T defaultValue) { return setValue_int(key, static_cast<int>(value), static_cast<int>(defaultValue)); } the two templates here have a problem. -- You are receiving this mail because: You are the assignee for the bug.