Skip to content
Snippets Groups Projects
Commit 1d2fa45a authored by kh1's avatar kh1
Browse files

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

parent 945b2555
No related branches found
No related tags found
No related merge requests found
...@@ -114,7 +114,7 @@ void MaemoGlobal::callMaddeShellScript(QProcess &proc, const QString &maddeRoot, ...@@ -114,7 +114,7 @@ void MaemoGlobal::callMaddeShellScript(QProcess &proc, const QString &maddeRoot,
QString actualCommand = command; QString actualCommand = command;
QStringList actualArgs = args; QStringList actualArgs = args;
#ifdef Q_OS_WIN #ifdef Q_OS_WIN
Utils::Environment env(proc.environment()); Utils::Environment env(proc.systemEnvironment());
env.prependOrSetPath(maddeRoot + QLatin1String("/bin")); env.prependOrSetPath(maddeRoot + QLatin1String("/bin"));
env.prependOrSet(QLatin1String("HOME"), env.prependOrSet(QLatin1String("HOME"),
QDesktopServices::storageLocation(QDesktopServices::HomeLocation)); QDesktopServices::storageLocation(QDesktopServices::HomeLocation));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment