Changeset View
Changeset View
Standalone View
Standalone View
kded/serializer.cpp
Context not available. | |||||
256 | output->setPrimary(info[QStringLiteral("primary")].toBool()); | 256 | output->setPrimary(info[QStringLiteral("primary")].toBool()); | ||
---|---|---|---|---|---|
257 | output->setEnabled(info[QStringLiteral("enabled")].toBool()); | 257 | output->setEnabled(info[QStringLiteral("enabled")].toBool()); | ||
258 | output->setRotation(static_cast<KScreen::Output::Rotation>(info[QStringLiteral("rotation")].toInt())); | 258 | output->setRotation(static_cast<KScreen::Output::Rotation>(info[QStringLiteral("rotation")].toInt())); | ||
259 | output->setScale(info.value(QStringLiteral("scale"), 1).toInt()); | ||||
259 | 260 | | |||
260 | const QVariantMap modeInfo = info[QStringLiteral("mode")].toMap(); | 261 | const QVariantMap modeInfo = info[QStringLiteral("mode")].toMap(); | ||
261 | const QVariantMap modeSize = modeInfo[QStringLiteral("size")].toMap(); | 262 | const QVariantMap modeSize = modeInfo[QStringLiteral("size")].toMap(); | ||
Context not available. |