1
0
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:
Teo Mrnjavac
2013-06-20 18:06:45 +02:00
parent 53ae795789
commit 7a992b1f08

View File

@@ -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;