Commit 1b96d215 authored by David Redondo's avatar David Redondo 🏎 Committed by Nate Graham
Browse files

Update device outputName when setting output


(cherry picked from commit d3a37aa9)
parent e2d271b6
Pipeline #178009 passed with stage
in 20 minutes and 26 seconds
......@@ -668,8 +668,10 @@ void Device::setOutput(AbstractOutput *output)
m_output = output;
if (m_output) {
m_outputName = output->name();
writeEntry(ConfigKey::OutputName, output->name());
} else {
m_outputName = QString();
writeEntry(ConfigKey::OutputName, QString());
Q_EMIT outputNameChanged();
Supports Markdown
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