The member function getValue does hot override the parent class's implemention

From: Erik Hovland <erik@hovland.org>

because it does not preserve the const-ness of the parent's implementation.
---

 libs/libmyth/managedlist.h |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/libs/libmyth/managedlist.h b/libs/libmyth/managedlist.h
index e3e29f9..e91104d 100644
--- a/libs/libmyth/managedlist.h
+++ b/libs/libmyth/managedlist.h
@@ -464,10 +464,11 @@ class MPUBLIC ManagedListSetting : public Setting, public SimpleDBStorage
             }
         }
 
-        virtual const QString getValue() {
+        virtual QString getValue() const {
             if (listItem)
             {
-                syncDBFromItem();
+                ManagedListSetting* th = const_cast<ManagedListSetting*>(this);
+                th->syncDBFromItem();
                 return listItem->getValue();
             }
             else
