Use implicit conversion
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 9 Jan 2009 10:01:12 +0000 (10:01 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 9 Jan 2009 10:01:12 +0000 (10:01 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2145 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/qvariant_converter.py

index 2e66ee5652f4d72aef7f6996f899f974a1cbbd6e..c0c5431e6063a6d2c40a9586dac93dca47083431 100644 (file)
@@ -52,5 +52,5 @@ def getDict(qvariant):
 def convertDict(dict_str_variant):
     result_dict = {}
     for key, value in dict_str_variant.items():
-        result_dict[QString(key)] = QVariant(value)
+        result_dict[QString(key)] = value
     return QVariant(result_dict)
\ No newline at end of file