From 258b8b9bce3b0212a63234619b21f179f20de265 Mon Sep 17 00:00:00 2001 From: Xaver Hugl Date: Tue, 9 Nov 2021 23:00:00 +0100 Subject: [PATCH] WaylandServer: replace quotes with qstring --- src/wayland_server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wayland_server.cpp b/src/wayland_server.cpp index 0fc68b2acd..6d9b40dc79 100644 --- a/src/wayland_server.cpp +++ b/src/wayland_server.cpp @@ -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());