Changeset View
Changeset View
Standalone View
Standalone View
greeter/lnf_integration.cpp
Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Line(s) | |||||
43 | 43 | | |||
44 | void LnFIntegration::init() | 44 | void LnFIntegration::init() | ||
45 | { | 45 | { | ||
46 | if (!m_package.isValid()) { | 46 | if (!m_package.isValid()) { | ||
47 | return; | 47 | return; | ||
48 | } | 48 | } | ||
49 | if (auto config = configScheme()) { | 49 | if (auto config = configScheme()) { | ||
50 | m_configuration = new KDeclarative::ConfigPropertyMap(config, this); | 50 | m_configuration = new KDeclarative::ConfigPropertyMap(config, this); | ||
51 | m_configuration->setAutosave(false); | ||||
51 | } | 52 | } | ||
52 | } | 53 | } | ||
53 | 54 | | |||
54 | 55 | | |||
55 | KConfigLoader *LnFIntegration::configScheme() | 56 | KConfigLoader *LnFIntegration::configScheme() | ||
56 | { | 57 | { | ||
57 | if (!m_configLoader) { | 58 | if (!m_configLoader) { | ||
58 | const QString xmlPath = m_package.filePath(QByteArrayLiteral("lockscreen"), QStringLiteral("config.xml")); | 59 | const QString xmlPath = m_package.filePath(QByteArrayLiteral("lockscreen"), QStringLiteral("config.xml")); | ||
Show All 14 Lines |