summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/interfaceframework/qifconfiguration.cpp6
-rw-r--r--src/interfaceframework/qifconfiguration_p.h2
2 files changed, 5 insertions, 3 deletions
diff --git a/src/interfaceframework/qifconfiguration.cpp b/src/interfaceframework/qifconfiguration.cpp
index cc155e95..a31cee79 100644
--- a/src/interfaceframework/qifconfiguration.cpp
+++ b/src/interfaceframework/qifconfiguration.cpp
@@ -938,7 +938,7 @@ bool QIfConfiguration::backendUpdatesEnabled() const
{
Q_D(const QIfConfiguration);
- Q_CHECK_SETTINGSOBJECT(false);
+ Q_CHECK_SETTINGSOBJECT(true);
return d->m_settingsObject->backendUpdatesEnabled;
}
@@ -1295,6 +1295,8 @@ void QIfConfiguration::componentComplete()
setPreferredBackends(tempSettings->preferredBackends);
setDiscoveryMode(tempSettings->discoveryMode);
setServiceObject(tempSettings->serviceObject);
+ setBackendUpdatesEnabled(tempSettings->backendUpdatesEnabled);
+ setAsynchronousBackendLoading(tempSettings->asynchronousBackendLoading);
}
QIfConfiguration::QIfConfiguration(QIfConfigurationPrivate &dd, QObject *parent)
@@ -1577,7 +1579,7 @@ bool QIfConfiguration::isServiceObjectSet(const QString &group)
bool QIfConfiguration::backendUpdatesEnabled(const QString &group)
{
QIfSettingsObject *so = QIfConfigurationManager::instance()->settingsObject(group);
- return so ? so->backendUpdatesEnabled : false;
+ return so ? so->backendUpdatesEnabled : true;
}
/*!
diff --git a/src/interfaceframework/qifconfiguration_p.h b/src/interfaceframework/qifconfiguration_p.h
index e8189473..2c8b0711 100644
--- a/src/interfaceframework/qifconfiguration_p.h
+++ b/src/interfaceframework/qifconfiguration_p.h
@@ -46,7 +46,7 @@ public:
bool serviceObjectSet = false;
QVariantMap serviceSettings;
bool serviceSettingsSet = false;
- bool backendUpdatesEnabled = false;
+ bool backendUpdatesEnabled = true;
bool backendUpdatesEnabledSet = false;
bool asynchronousBackendLoading = false;
bool asynchronousBackendLoadingSet = false;