Resolve one of the qvariant conversion problem on ubuntu linux platform
authorbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 9 Jan 2009 16:52:53 +0000 (16:52 +0000)
committerbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 9 Jan 2009 16:52:53 +0000 (16:52 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2153 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/qvariant_converter.py

index 9e3b3ed83e098276618ef61b073505202d98143c..b23bb47dc2bd985895b5db96dbfcf33bed2c677c 100644 (file)
@@ -23,7 +23,7 @@ def getStringList(qvariant):
     return string_list
 
 def convertStringList(string_list):
-    return QVariant(string_list)
+    return QVariant(QStringList(string_list))
 
 def getStringDict(qvariant):
     dict_str_str = {}
@@ -65,4 +65,4 @@ def convertDict(dict_str_variant):
     result_dict = {}
     for key, value in dict_str_variant.items():
         result_dict[QString(key)] = value
-    return QVariant(result_dict)
\ No newline at end of file
+    return QVariant(result_dict)