Skip to content
  • Kai Uwe Broulik's avatar
    startplasma: Also set environment variable when it is not currently set · f469e2f2
    Kai Uwe Broulik authored
    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.
    
    BUG: 490432
    f469e2f2