1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-01 11:50:37 +02:00

Enable config upgrade path.

This commit is contained in:
Teo Mrnjavac
2013-05-22 19:53:48 +02:00
parent c86edcd31a
commit 818d44f2d0
2 changed files with 2 additions and 2 deletions

View File

@@ -629,7 +629,7 @@ TomahawkSettings::doUpgrade( int oldVersion, int newVersion )
{
QKeychain::WritePasswordJob* j = new QKeychain::WritePasswordJob( QLatin1String( "tomahawkaccounts" ), this );
j->setKey( account );
j->setAutoDelete( false );
j->setAutoDelete( true );
QByteArray data;
QDataStream ds( &data, QIODevice::WriteOnly );

View File

@@ -28,7 +28,7 @@
#include <QtNetwork/QNetworkProxy>
#include <QStringList>
#define TOMAHAWK_SETTINGS_VERSION 14
#define TOMAHAWK_SETTINGS_VERSION 15
/**
* Convenience wrapper around QSettings for tomahawk-specific config