Commit 242439b8 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii

Minor whitespace fixes

parent e5abd704
......@@ -145,12 +145,10 @@ void VirtualBackend::enableOutput(VirtualOutput *output, bool enable)
if (enable) {
Q_ASSERT(!m_outputsEnabled.contains(output));
m_outputsEnabled << output;
emit outputEnabled(output);
} else {
Q_ASSERT(m_outputsEnabled.contains(output));
m_outputsEnabled.removeOne(output);
emit outputDisabled(output);
}
......@@ -159,8 +157,7 @@ void VirtualBackend::enableOutput(VirtualOutput *output, bool enable)
void VirtualBackend::removeOutput(AbstractOutput *output)
{
VirtualOutput* virtualOutput = static_cast<VirtualOutput *>(output);
VirtualOutput *virtualOutput = static_cast<VirtualOutput *>(output);
if (m_outputsEnabled.removeOne(virtualOutput)) {
emit outputDisabled(virtualOutput);
}
......
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