WaylandServer: replace quotes with qstring
This commit is contained in:
parent
773de94486
commit
258b8b9bce
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue