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();