summaryrefslogtreecommitdiff
path: root/qjson.c
diff options
context:
space:
mode:
Diffstat (limited to 'qjson.c')
-rw-r--r--qjson.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/qjson.c b/qjson.c
index 483c6675db..e4ee433760 100644
--- a/qjson.c
+++ b/qjson.c
@@ -158,6 +158,9 @@ static void to_json(const QObject *obj, QString *str)
case '\b':
qstring_append(str, "\\b");
break;
+ case '\f':
+ qstring_append(str, "\\f");
+ break;
case '\n':
qstring_append(str, "\\n");
break;