summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Gräßlin <mgraesslin@kde.org>2017-04-03 04:53:05 (GMT)
committerMartin Gräßlin <mgraesslin@kde.org>2017-04-04 17:38:02 (GMT)
commita936516107579df13362f6d2d6f91f26a447d6dd (patch)
tree8a48d31d556c8c9f57bac0a1d7db91ca7ff0a47f
parent49fc31059433fe495090b8987e07043b4e3d893d (diff)
[kcmkwin/compositing] Do not write GLPlatformInterface config
Summary: The gui element to select the platform interface is dropped. Thus we should not store the config for it. This is rather important as changing compositor settings on Wayland would result in egl being written into the config which potentially breaks an X11 session. BUG: 378114 Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D5285
-rw-r--r--kcmkwin/kwincompositing/compositing.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/kcmkwin/kwincompositing/compositing.cpp b/kcmkwin/kwincompositing/compositing.cpp
index c1cddb8..102dfd1 100644
--- a/kcmkwin/kwincompositing/compositing.cpp
+++ b/kcmkwin/kwincompositing/compositing.cpp
@@ -309,10 +309,6 @@ void Compositing::save()
}
kwinConfig.writeEntry("Backend", backend);
kwinConfig.writeEntry("GLCore", glCore);
- const QModelIndex glIndex = m_openGLPlatformInterfaceModel->index(m_openGLPlatformInterface);
- if (glIndex.isValid()) {
- kwinConfig.writeEntry("GLPlatformInterface", glIndex.data(Qt::UserRole).toString());
- }
if (!compositingRequired()) {
kwinConfig.writeEntry("WindowsBlockCompositing", windowsBlockCompositing());
}