mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-13 01:24:11 +02:00
Remove QJson usage from TomahawkSettings
This commit is contained in:
@@ -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 )
|
||||
{
|
||||
|
Reference in New Issue
Block a user