WaylandServer: replace quotes with qstring

This commit is contained in:
Xaver Hugl 2021-11-09 23:00:00 +01:00 committed by Aleix Pol Gonzalez
parent 773de94486
commit 258b8b9bce

View file

@ -276,7 +276,7 @@ void WaylandServer::initPlatform()
connect(kwinApp()->platform(), &Platform::outputDisabled, this, &WaylandServer::handleOutputDisabled);
connect(kwinApp()->platform(), &Platform::primaryOutputChanged, this, [this] (AbstractOutput *primaryOutput) {
m_primary->setPrimaryOutput(primaryOutput ? primaryOutput->name() : "");
m_primary->setPrimaryOutput(primaryOutput ? primaryOutput->name() : QString());
});
if (auto primaryOutput = kwinApp()->platform()->primaryOutput()) {
m_primary->setPrimaryOutput(primaryOutput->name());