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:
parent
59b10b725c
commit
bfeed9daba
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user