Updated users of deprecated Property::Map methods 53/88153/2
authorDavid Steele <david.steele@partner.samsung.com>
Tue, 13 Sep 2016 20:04:54 +0000 (21:04 +0100)
committerDavid Steele <david.steele@partner.samsung.com>
Fri, 16 Sep 2016 10:43:57 +0000 (11:43 +0100)
Change-Id: Ibf75fe7a905578be715715b2c0873c6aff9fcd19

adaptors/ecore/common/ecore-virtual-keyboard.cpp

index ea0b79a..ffb603b 100644 (file)
@@ -188,7 +188,12 @@ void ApplySettings( const Property::Map& settingsMap )
 
   for ( unsigned int i = 0, count = settingsMap.Count(); i < count; ++i )
   {
-    std::string key = settingsMap.GetKey( i );
+    Property::Key key = settingsMap.GetKeyAt( i );
+    if( key.type == Property::Key::INDEX )
+    {
+      continue;
+    }
+
     Property::Value item = settingsMap.GetValue(i);
 
     if ( key == TOKEN_STRING( ACTION_BUTTON ) )
@@ -203,7 +208,7 @@ void ApplySettings( const Property::Map& settingsMap )
     {
       DALI_LOG_INFO( gLogFilter, Debug::General, "Provided Settings Key not supported\n" );
     }
-   }
+  }
 }
 
 void EnablePrediction(const bool enable)