1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-22 17:01:51 +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

@ -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 );