mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 13:47:26 +02:00
Enable config upgrade path.
This commit is contained in:
@@ -629,7 +629,7 @@ TomahawkSettings::doUpgrade( int oldVersion, int newVersion )
|
|||||||
{
|
{
|
||||||
QKeychain::WritePasswordJob* j = new QKeychain::WritePasswordJob( QLatin1String( "tomahawkaccounts" ), this );
|
QKeychain::WritePasswordJob* j = new QKeychain::WritePasswordJob( QLatin1String( "tomahawkaccounts" ), this );
|
||||||
j->setKey( account );
|
j->setKey( account );
|
||||||
j->setAutoDelete( false );
|
j->setAutoDelete( true );
|
||||||
|
|
||||||
QByteArray data;
|
QByteArray data;
|
||||||
QDataStream ds( &data, QIODevice::WriteOnly );
|
QDataStream ds( &data, QIODevice::WriteOnly );
|
||||||
|
@@ -28,7 +28,7 @@
|
|||||||
#include <QtNetwork/QNetworkProxy>
|
#include <QtNetwork/QNetworkProxy>
|
||||||
#include <QStringList>
|
#include <QStringList>
|
||||||
|
|
||||||
#define TOMAHAWK_SETTINGS_VERSION 14
|
#define TOMAHAWK_SETTINGS_VERSION 15
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Convenience wrapper around QSettings for tomahawk-specific config
|
* Convenience wrapper around QSettings for tomahawk-specific config
|
||||||
|
Reference in New Issue
Block a user