1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-22 08:52:12 +02:00

*** Restore v14 config file before running to avoid losing accounts ***

Change QtKeychain's user-visible service name to "Tomahawk".
This commit is contained in:
Teo Mrnjavac 2013-05-23 07:16:20 +02:00
parent 06ca60dfca
commit 315b41d1e9
2 changed files with 2 additions and 2 deletions

@ -627,7 +627,7 @@ TomahawkSettings::doUpgrade( int oldVersion, int newVersion )
tDebug() << "creds:" << creds;
if ( !creds.isEmpty() )
{
QKeychain::WritePasswordJob* j = new QKeychain::WritePasswordJob( QLatin1String( "tomahawkaccounts" ), this );
QKeychain::WritePasswordJob* j = new QKeychain::WritePasswordJob( QLatin1String( "Tomahawk" ), this );
j->setKey( account );
j->setAutoDelete( true );

@ -24,7 +24,7 @@
#include <QStringList>
#define TOMAHAWK_KEYCHAINSVC QLatin1String("tomahawkaccounts")
#define TOMAHAWK_KEYCHAINSVC QLatin1String("Tomahawk")
namespace Tomahawk
{