Merge pull request #33 from danimo/old_gnome

origin
This commit is contained in:
Frank Osterfeld 2014-03-12 16:59:33 +01:00
commit 47e37028ef
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ enum KeyringBackend {
static KeyringBackend detectKeyringBackend()
{
if ( !qgetenv( "GNOME_KEYRING_CONTROL" ).isNull() && GnomeKeyring::isSupported() )
if ( !( qgetenv( "GNOME_KEYRING_CONTROL" ).isNull() && qgetenv("GNOME_KEYRING_SOCKET").isNull() ) && GnomeKeyring::isSupported() )
return Backend_GnomeKeyring;
else
return Backend_Kwallet;