Fix -Wdeprecated-declarations

This commit is contained in:
Vlad Zahorodnii 2023-12-01 12:06:48 +02:00
parent e5753ea336
commit dd9e04fb18
2 changed files with 2 additions and 2 deletions

View file

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

View file

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