1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 03:10:12 +02:00

Generate compact JSON documents

This commit is contained in:
Uwe L. Korn
2014-07-06 02:17:49 +01:00
parent c52a6634c2
commit b7e6f2678f

View File

@@ -126,7 +126,7 @@ toJson( const QVariant &variant, bool* ok )
{
*ok = !doc.isNull();
}
return doc.toJson();
return doc.toJson( QJsonDocument::Compact );
#else
QJson::Serializer serializer;
return serializer.serialize( variant, ok );