Changeset View
Changeset View
Standalone View
Standalone View
kcm/kcm.cpp
Show First 20 Lines • Show All 72 Lines • ▼ Show 20 Line(s) | |||||
73 | } | 73 | } | ||
74 | 74 | | |||
75 | void KCMKScreen::configReady(ConfigOperation *op) | 75 | void KCMKScreen::configReady(ConfigOperation *op) | ||
76 | { | 76 | { | ||
77 | qCDebug(KSCREEN_KCM) << "Reading in config now."; | 77 | qCDebug(KSCREEN_KCM) << "Reading in config now."; | ||
78 | 78 | | |||
79 | if (op->hasError()) { | 79 | if (op->hasError()) { | ||
80 | m_config.reset(); | 80 | m_config.reset(); | ||
81 | Q_EMIT backendError(); | 81 | Q_EMIT backendError(op->errorString()); | ||
82 | return; | 82 | return; | ||
83 | } | 83 | } | ||
84 | m_config->setConfig(qobject_cast<GetConfigOperation*>(op)->config()); | 84 | m_config->setConfig(qobject_cast<GetConfigOperation*>(op)->config()); | ||
85 | setBackendReady(true); | 85 | setBackendReady(true); | ||
86 | Q_EMIT perOutputScalingChanged(); | 86 | Q_EMIT perOutputScalingChanged(); | ||
87 | Q_EMIT primaryOutputSupportedChanged(); | 87 | Q_EMIT primaryOutputSupportedChanged(); | ||
88 | Q_EMIT outputReplicationSupportedChanged(); | 88 | Q_EMIT outputReplicationSupportedChanged(); | ||
89 | } | 89 | } | ||
▲ Show 20 Lines • Show All 314 Lines • Show Last 20 Lines |