mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
Stay insecure if there's no other way.
This commit is contained in:
@@ -629,7 +629,9 @@ TomahawkSettings::doUpgrade( int oldVersion, int newVersion )
|
||||
QKeychain::WritePasswordJob* j = new QKeychain::WritePasswordJob( QLatin1String( "Tomahawk" ), this );
|
||||
j->setKey( account );
|
||||
j->setAutoDelete( true );
|
||||
|
||||
#if defined( Q_OS_UNIX ) && !defined( Q_OS_MAC )
|
||||
j->setInsecureFallback( true );
|
||||
#endif
|
||||
QByteArray data;
|
||||
QDataStream ds( &data, QIODevice::WriteOnly );
|
||||
ds << creds;
|
||||
|
Reference in New Issue
Block a user