From dd9e04fb180a7e7c9a49cd029fe497f19c537618 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Fri, 1 Dec 2023 12:06:48 +0200 Subject: [PATCH] Fix -Wdeprecated-declarations --- autotests/integration/layershellv1window_test.cpp | 2 +- autotests/integration/screenedges_test.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/autotests/integration/layershellv1window_test.cpp b/autotests/integration/layershellv1window_test.cpp index e4aab92644..75e3082a43 100644 --- a/autotests/integration/layershellv1window_test.cpp +++ b/autotests/integration/layershellv1window_test.cpp @@ -675,7 +675,7 @@ void LayerShellV1WindowTest::testUnmap() void LayerShellV1WindowTest::testScreenEdge() { auto config = kwinApp()->config(); - config->group("Windows").writeEntry("ElectricBorderDelay", 150); + config->group(QStringLiteral("Windows")).writeEntry("ElectricBorderDelay", 150); config->sync(); workspace()->slotReconfigure(); diff --git a/autotests/integration/screenedges_test.cpp b/autotests/integration/screenedges_test.cpp index 4869fa2faf..a4259922ef 100644 --- a/autotests/integration/screenedges_test.cpp +++ b/autotests/integration/screenedges_test.cpp @@ -379,7 +379,7 @@ void ScreenEdgesTest::testKdeNetWmScreenEdgeShow() // _KDE_NET_WM_SCREEN_EDGE_SHOW has oneshot effect. It's deleted when the window is shown. auto config = kwinApp()->config(); - config->group("Windows").writeEntry("ElectricBorderDelay", 150); + config->group(QStringLiteral("Windows")).writeEntry("ElectricBorderDelay", 150); config->sync(); workspace()->slotReconfigure();