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:
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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user