зеркало из https://github.com/nextcloud/desktop.git
Defaults to using no password manager if KWallet or gnome-keyring
not compiled in, or not available
This commit is contained in:
Родитель
a1fe2d9089
Коммит
40c1f93205
|
@ -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");
|
||||
|
|
Загрузка…
Ссылка в новой задаче