Commit 8dc99f32 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

Ignore browser-hosted web-apps in TaskManager-based browser identification

Prevents plasma-browser-integration from sometimes thinking it's your chat
app or similar.
parent a9736cae
Pipeline #218755 passed with stage
in 45 seconds
......@@ -226,6 +226,12 @@ bool Settings::setEnvironmentFromTasksModelIndex(const QModelIndex &idx)
return false;
}
// Ignore any browser-hosted app windows.
if (!service->categories().contains(QLatin1String("WebBrowser"))) {
qInfo() << "Ignoring launcher URL" << launcherUrl << "which doesn't have \"WebBrowser\" category";
return false;
}
qApp->setApplicationName(service->menuId());
qApp->setApplicationDisplayName(service->name());
qApp->setDesktopFileName(service->desktopEntryName());
......
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