Commit ccbee3e8 authored by Frederik Gladhorn's avatar Frederik Gladhorn
Browse files

Use QStringLiteral when a conversion to QString will happen

Summary: In this case we would allocate to create a QString instance since there is no Latin1 overload.

Reviewers: #plasma, apol

Reviewed By: apol

Subscribers: plasma-devel

Tags: #plasma

Differential Revision:
parent 5327746f
......@@ -113,7 +113,7 @@ void KScreenDaemon::init()
connect(Device::self(), &Device::lidClosedChanged, this, &KScreenDaemon::lidClosedChanged);
connect(Device::self(), &Device::resumingFromSuspend, this,
[&]() {
qCDebug(KSCREEN_KDED) << "Resumed from suspend, checking for screen changes";
// We don't care about the result, we just want to force the backend
// to query XRandR so that it will detect possible changes that happened
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