mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +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:
@@ -627,7 +627,7 @@ TomahawkSettings::doUpgrade( int oldVersion, int newVersion )
|
|||||||
tDebug() << "creds:" << creds;
|
tDebug() << "creds:" << creds;
|
||||||
if ( !creds.isEmpty() )
|
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->setKey( account );
|
||||||
j->setAutoDelete( true );
|
j->setAutoDelete( true );
|
||||||
|
|
||||||
|
@@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
#include <QStringList>
|
#include <QStringList>
|
||||||
|
|
||||||
#define TOMAHAWK_KEYCHAINSVC QLatin1String("tomahawkaccounts")
|
#define TOMAHAWK_KEYCHAINSVC QLatin1String("Tomahawk")
|
||||||
|
|
||||||
namespace Tomahawk
|
namespace Tomahawk
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user