Commit f948b5bc authored by Nicolas Fella's avatar Nicolas Fella
Browse files

[wayland] Don't init m_internalConfig twice

Summary: It it initialized 4 lines prior. Once should be enough.

Test Plan: addOutput/removeOutput isn't duplicated any more

Reviewers: #plasma, apol

Reviewed By: apol

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D24718
parent d396285f
......@@ -40,8 +40,6 @@ WaylandBackend::WaylandBackend()
{
qCDebug(KSCREEN_WAYLAND) << "Loading Wayland backend.";
m_internalConfig = new WaylandConfig(this);
connect(m_internalConfig, &WaylandConfig::configChanged,
this, [this]() {
Q_EMIT configChanged(m_internalConfig->currentConfig());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment