Pass desktop name to DrKonqi

Authored by broulik on May 19 2020, 12:55 PM.

Description

Pass desktop name to DrKonqi

Allows DrKonqi to look up the application's service for e.g. proper cgroup scoping of the restarted app.
DrKonqi ignores any unknown arguments for compatibility should one run newer KCrash against old DrKonqi [1].

The crash handler says to not allocate any memory but it has been doing QGuiApplication::platformName()
in here forever, so I assume doing QGuiApplication::instance()->desktopFileName() is fine, too.

[1] https://invent.kde.org/plasma/drkonqi/-/commit/abc37a6aef2dcd1bc3e052bfcca052f98c5f3d48

Details

Committed
broulikMay 19 2020, 12:55 PM
Parents
R285:42a0b1766659: GIT_SILENT: we don't use phabricator anymore
Branches
Unknown
Tags
Unknown
References
work/desktopname