https://bugs.kde.org/show_bug.cgi?id=490432

Kai Uwe Broulik <k...@privat.broulik.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-workspace/-/commi
                   |                            |t/f469e2f22d8137e578fe5a729
                   |                            |3287e64eb1dce94

--- Comment #2 from Kai Uwe Broulik <k...@privat.broulik.de> ---
Git commit f469e2f22d8137e578fe5a7293287e64eb1dce94 by Kai Uwe Broulik.
Committed on 23/07/2024 at 11:03.
Pushed by broulik into branch 'master'.

startplasma: Also set environment variable when it is not currently set

qgetenv returns a null QByteArray when there is currently no such variable.
A null QByteArray is distinct from an empty one. However, operator!= will
treat them the same. Therefore it's impossible to set an environment variable
to an empty value.

Explicitly check for null and also qputenv it when this is the case.

M  +2    -1    startkde/startplasma.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/f469e2f22d8137e578fe5a7293287e64eb1dce94

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to