diff --git a/src/xdgactivationv1.cpp b/src/xdgactivationv1.cpp index 9048e25f2a..9334a14233 100644 --- a/src/xdgactivationv1.cpp +++ b/src/xdgactivationv1.cpp @@ -42,7 +42,7 @@ static const QString windowDesktopFileName(Window *window) // Fallback to StartupWMClass for legacy apps const auto resourceName = window->resourceName(); const auto service = KApplicationTrader::query([&resourceName](const KService::Ptr &service) { - return service->property("StartupWMClass") == resourceName; + return service->property("StartupWMClass").toString().compare(resourceName, Qt::CaseInsensitive) == 0; }); if (!service.isEmpty()) {