homescreenapp/hsutils/src/hswidgetpositioningonwidgetmove.cpp
changeset 81 7dd137878ff8
parent 69 87476091b3f5
child 90 3ac3aaebaee5
--- a/homescreenapp/hsutils/src/hswidgetpositioningonwidgetmove.cpp	Fri Aug 13 14:38:12 2010 +0300
+++ b/homescreenapp/hsutils/src/hswidgetpositioningonwidgetmove.cpp	Wed Aug 18 10:33:57 2010 +0300
@@ -77,10 +77,10 @@
 void HsSnapToLines::setConfiguration(const QVariantHash &configuration)
 {
     bool canConvert = false;
-    mSnapEnabled = configuration[SNAPENABLED].toBool();
+    mSnapEnabled = configuration[Hs::snapEnabled].toBool();
     //The following values should be in qreal, so the status received in canConvert is ignored
-    mSnapForce = configuration[SNAPFORCE].toDouble(&canConvert);
-    mSnapGap = configuration[SNAPGAP].toDouble(&canConvert);
+    mSnapForce = configuration[Hs::snapForce].toDouble(&canConvert);
+    mSnapGap = configuration[Hs::snapGap].toDouble(&canConvert);
 }
 
 /*!