From kde-commits Thu Oct 15 21:01:22 2015 From: Alex Fiestas Date: Thu, 15 Oct 2015 21:01:22 +0000 To: kde-commits Subject: [kaccounts-providers] /: I thought KWallet was a tree but it is a list, doing a hack to make uuid Message-Id: X-MARC-Message: https://marc.info/?l=kde-commits&m=144494408125506 Git commit 5f653daae44de35685594840668c0e3609f8e798 by Alex Fiestas. Committed on 18/04/2012 at 13:56. Pushed by mklapetek into branch 'master'. I thought KWallet was a tree but it is a list, doing a hack to make uuid M +2 -5 owncloud.cpp http://commits.kde.org/kaccounts-providers/5f653daae44de35685594840668c0e36= 09f8e798 diff --git a/owncloud.cpp b/owncloud.cpp index a0d7f68..0eec287 100644 --- a/owncloud.cpp +++ b/owncloud.cpp @@ -72,11 +72,8 @@ void OwnCloudWizard::done(int result) = wallet->createFolder("WebAccounts"); wallet->setFolder("WebAccounts"); - wallet->createFolder("owncloud"); - wallet->setFolder("owncloud"); - wallet->createFolder(m_username); - wallet->setFolder(m_username); - wallet->writePassword(m_username, m_password); + + wallet->writePassword("owncloud-" + m_username, m_password); wallet->sync(); wallet->deleteLater(); =