OSDN Git Service
(root)
/
kde
/
Katie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84d36ea
)
change TODO to comment
author
Ivailo Monev
<xakepa10@gmail.com>
Thu, 11 Feb 2021 12:39:49 +0000
(14:39 +0200)
committer
Ivailo Monev
<xakepa10@gmail.com>
Thu, 11 Feb 2021 12:39:49 +0000
(14:39 +0200)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
src/core/tools/qjsondocument.cpp
patch
|
blob
|
history
diff --git
a/src/core/tools/qjsondocument.cpp
b/src/core/tools/qjsondocument.cpp
index
23f4d40
..
3eb47ad
100644
(file)
--- a/
src/core/tools/qjsondocument.cpp
+++ b/
src/core/tools/qjsondocument.cpp
@@
-201,7
+201,7
@@
QByteArray QJsonDocumentPrivate::mapToJson(const QVariantMap &jsonmap)
json_object_set_new_nocheck(jroot, bytearraykey.constData(), json_string(bytearrayvalue.constData()));
break;
}
- case QVariant::List: //
TODO:
this works only for QString-convertable types
+ case QVariant::List: // this works only for QString-convertable types
case QVariant::StringList: {
json_t *jarray = json_array();
foreach(const QString &listvalue, value.toStringList()) {