Changeset View
Changeset View
Standalone View
Standalone View
kcms/lookandfeel/kcm.cpp
Show First 20 Lines • Show All 337 Lines • ▼ Show 20 Line(s) | 336 | if (m_applyDesktopSwitcher) { | |||
---|---|---|---|---|---|
338 | cg = KConfigGroup(&cg, "DesktopSwitcher"); | 338 | cg = KConfigGroup(&cg, "DesktopSwitcher"); | ||
339 | setDesktopSwitcher(cg.readEntry("LayoutName", QString())); | 339 | setDesktopSwitcher(cg.readEntry("LayoutName", QString())); | ||
340 | } | 340 | } | ||
341 | 341 | | |||
342 | if (m_applyWindowDecoration) { | 342 | if (m_applyWindowDecoration) { | ||
343 | cg = KConfigGroup(conf, "kwinrc"); | 343 | cg = KConfigGroup(conf, "kwinrc"); | ||
344 | cg = KConfigGroup(&cg, "org.kde.kdecoration2"); | 344 | cg = KConfigGroup(&cg, "org.kde.kdecoration2"); | ||
345 | #ifdef HAVE_BREEZE_DECO | 345 | #ifdef HAVE_BREEZE_DECO | ||
346 | setWindowDecoration(cg.readEntry("library", QStringLiteral(BREEZE_KDECORATION_PLUGIN_ID)), cg.readEntry("theme", QString())); | 346 | setWindowDecoration(cg.readEntry("library", QStringLiteral(BREEZE_KDECORATION_PLUGIN_ID)), cg.readEntry("theme", QStringLiteral("Breeze"))); | ||
347 | #else | 347 | #else | ||
348 | setWindowDecoration(cg.readEntry("library", QStringLiteral("org.kde.kwin.aurorae")), cg.readEntry("theme", QString())); | 348 | setWindowDecoration(cg.readEntry("library", QStringLiteral("org.kde.kwin.aurorae")), cg.readEntry("theme", QStringLiteral("kwin4_decoration_qml_plastik"))); | ||
349 | #endif | 349 | #endif | ||
350 | } | 350 | } | ||
351 | 351 | | |||
352 | // Reload KWin if something changed, but only once. | 352 | // Reload KWin if something changed, but only once. | ||
353 | if (m_applyWindowSwitcher || m_applyDesktopSwitcher || m_applyWindowDecoration) { | 353 | if (m_applyWindowSwitcher || m_applyDesktopSwitcher || m_applyWindowDecoration) { | ||
354 | QDBusMessage message = QDBusMessage::createSignal(QStringLiteral("/KWin"), | 354 | QDBusMessage message = QDBusMessage::createSignal(QStringLiteral("/KWin"), | ||
355 | QStringLiteral("org.kde.KWin"), | 355 | QStringLiteral("org.kde.KWin"), | ||
356 | QStringLiteral("reloadConfig")); | 356 | QStringLiteral("reloadConfig")); | ||
▲ Show 20 Lines • Show All 351 Lines • Show Last 20 Lines |