1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-13 09:34:53 +02:00

Remove QJson usage from TomahawkSettings

This commit is contained in:
Uwe L. Korn
2014-04-13 22:01:18 +01:00
parent 2b35ed46ea
commit 1fcba130eb

View File

@@ -32,7 +32,6 @@
#include "PlaylistInterface.h"
#include "Source.h"
#include <qjson/serializer.h>
#if QT_VERSION < QT_VERSION_CHECK(5,0,0)
#include <qtkeychain/keychain.h>
#else
@@ -643,9 +642,8 @@ TomahawkSettings::doUpgrade( int oldVersion, int newVersion )
#if defined( Q_OS_UNIX ) && !defined( Q_OS_MAC )
j->setInsecureFallback( true );
#endif
QJson::Serializer serializer;
bool ok;
QByteArray data = serializer.serialize( creds, &ok );
QByteArray data = TomahawkUtils::toJson( creds, &ok );
if ( ok )
{