1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-18 23:09:42 +01:00

Remove QJson usage from ShortLinkHelper

This commit is contained in:
Uwe L. Korn 2014-04-13 21:20:37 +01:00
parent 59b10b725c
commit bfeed9daba

View File

@ -28,8 +28,6 @@
#include "Source.h"
#include "Track.h"
#include <qjson/serializer.h>
namespace Tomahawk {
namespace Utils {
@ -87,8 +85,7 @@ ShortLinkHelper::shortLink( const Tomahawk::playlist_ptr& pl )
QVariantMap jspf;
jspf["playlist"] = m;
QJson::Serializer s;
QByteArray msg = s.serialize( jspf );
QByteArray msg = TomahawkUtils::toJson( jspf );
// No built-in Qt facilities for doing a FORM POST. So we build the payload ourselves...
const QByteArray boundary = "----------------------------2434992cccab";