mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-25 13:55:47 +03:00
Defaults to using no password manager if KWallet or gnome-keyring
not compiled in, or not available
This commit is contained in:
parent
a1fe2d9089
commit
40c1f93205
1 changed files with 4 additions and 0 deletions
|
@ -13,7 +13,11 @@ OwnPasswordManager::OwnPasswordManager(QObject *parent, WId winID )
|
|||
p.start("pidof",args);
|
||||
p.waitForFinished(-1);
|
||||
if(p.readAllStandardOutput()!="") {
|
||||
#if defined(OCS_USE_KWALLET)
|
||||
mPasswordManagerLinux = KWALLET;
|
||||
#else
|
||||
mPasswordManagerLinux = NONE;
|
||||
#endif
|
||||
} else {
|
||||
args.clear();
|
||||
args.push_back("gnome-session");
|
||||
|
|
Loading…
Reference in a new issue