core: track XDG_CURRENT_DESKTOP in debuginfo

This commit is contained in:
outfoxxed 2026-03-28 20:25:58 -07:00
parent 6ef86dd5aa
commit 313f4e47f6
No known key found for this signature in database
GPG key ID: 4C88A185FB89301E

View file

@ -129,12 +129,13 @@ QString envInfo() {
auto stream = QTextStream(&info);
for (auto** envp = environ; *envp != nullptr; ++envp) { // NOLINT
auto prefixes = std::array<std::string_view, 5> {
auto prefixes = std::array<std::string_view, 6> {
"QS_",
"QT_",
"QML_",
"QML2_",
"QSG_",
"XDG_CURRENT_DESKTOP=",
};
for (const auto& prefix: prefixes) {