~ubuntu-branches/ubuntu/precise/networkmanagement/precise

« back to all changes in this revision

Viewing changes to kded/settingsnm08/vpnpersistence.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2011-10-23 14:00:13 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20111023140013-e38hdzybcg6zndrk
Tags: 0.9~svngit.nm09.20111023.ff842e-0ubuntu1
* New upstream snapshot.
* Drop all patches, merged upstream.
* Add kubuntu_add_subdirectory_po.diff to build the translations.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
  VpnSetting * setting = static_cast<VpnSetting *>(m_setting);
21
21
  setting->setServiceType(m_config->readEntry("ServiceType", ""));
22
22
  setting->setData(stringMapFromStringList(m_config->readEntry("Data", QStringList())));
23
 
  setting->setSecretsStorageType(stringMapFromStringList(m_config->readEntry("SecretsStorageType", QStringList())));
24
 
  setting->setUserName(KUser().loginName());
 
23
  setting->setUserName(m_config->readEntry("UserName", ""));
25
24
  // SECRET
26
25
  if (m_storageMode == SettingPersistence::PlainText) {
27
26
      // the map is flattened to a list of key,value,key,value