Fix usage of mad command, seems we depend on the system env.

This commit is contained in:
kh1
2010-11-29 18:35:07 +01:00
parent 945b25559d
commit 1d2fa45a94

View File

@@ -114,7 +114,7 @@ void MaemoGlobal::callMaddeShellScript(QProcess &proc, const QString &maddeRoot,
QString actualCommand = command;
QStringList actualArgs = args;
#ifdef Q_OS_WIN
Utils::Environment env(proc.environment());
Utils::Environment env(proc.systemEnvironment());
env.prependOrSetPath(maddeRoot + QLatin1String("/bin"));
env.prependOrSet(QLatin1String("HOME"),
QDesktopServices::storageLocation(QDesktopServices::HomeLocation));