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:
parent
06ca60dfca
commit
315b41d1e9
src/libtomahawk
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user