diff options
Diffstat (limited to 'src/murmur/UnixMurmur.cpp')
-rw-r--r-- | src/murmur/UnixMurmur.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/murmur/UnixMurmur.cpp b/src/murmur/UnixMurmur.cpp index a3429503f..56da21ea2 100644 --- a/src/murmur/UnixMurmur.cpp +++ b/src/murmur/UnixMurmur.cpp @@ -8,6 +8,7 @@ #include "UnixMurmur.h" #include "Meta.h" +#include "EnvUtils.h" QMutex *LimitTest::qm; QWaitCondition *LimitTest::qw; @@ -274,7 +275,7 @@ void UnixMurmur::setuid() { // QDir::homePath is broken. It only looks at $HOME // instead of getpwuid() so we have to set our home // ourselves - ::setenv("HOME", qPrintable(Meta::mp.qsHome), 1); + EnvUtils::setenv(QLatin1String("HOME"), qPrintable(Meta::mp.qsHome)); } #endif } else if (bRoot) { |