From 214612327f6fe0111c487f4019599e285a14f446 Mon Sep 17 00:00:00 2001 From: batt Date: Fri, 9 Jan 2009 16:52:53 +0000 Subject: [PATCH] Resolve one of the qvariant conversion problem on ubuntu linux platform git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2153 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/qvariant_converter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wizard/qvariant_converter.py b/wizard/qvariant_converter.py index 9e3b3ed8..b23bb47d 100644 --- a/wizard/qvariant_converter.py +++ b/wizard/qvariant_converter.py @@ -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) -- 2.25.1