Changeset View
Changeset View
Standalone View
Standalone View
src/config.cpp
Show First 20 Lines • Show All 105 Lines • ▼ Show 20 Line(s) | 102 | { | |||
---|---|---|---|---|---|
106 | } | 106 | } | ||
107 | ConfigPtr currentConfig = BackendManager::instance()->config(); | 107 | ConfigPtr currentConfig = BackendManager::instance()->config(); | ||
108 | if (!currentConfig) { | 108 | if (!currentConfig) { | ||
109 | qCDebug(KSCREEN) << "canBeApplied: Current config not available, returning false"; | 109 | qCDebug(KSCREEN) << "canBeApplied: Current config not available, returning false"; | ||
110 | return false; | 110 | return false; | ||
111 | } | 111 | } | ||
112 | 112 | | |||
113 | QRect rect; | 113 | QRect rect; | ||
114 | QSize outputSize; | | |||
115 | OutputPtr currentOutput; | 114 | OutputPtr currentOutput; | ||
116 | const OutputList outputs = config->outputs(); | 115 | const OutputList outputs = config->outputs(); | ||
117 | int enabledOutputsCount = 0; | 116 | int enabledOutputsCount = 0; | ||
118 | Q_FOREACH(const OutputPtr &output, outputs) { | 117 | Q_FOREACH(const OutputPtr &output, outputs) { | ||
119 | if (!output->isEnabled()) { | 118 | if (!output->isEnabled()) { | ||
120 | continue; | 119 | continue; | ||
121 | } | 120 | } | ||
122 | 121 | | |||
▲ Show 20 Lines • Show All 262 Lines • Show Last 20 Lines |