Commit 67702d3e authored by Boudewijn Rempt's avatar Boudewijn Rempt

Fix build with Qt 5.9

parent 4c2bfbd3
......@@ -120,7 +120,7 @@ struct EnvironmentSetter
: m_env(env)
{
if (qEnvironmentVariableIsEmpty(m_env.latin1())) {
m_oldValue = qEnvironmentVariable(env.latin1());
m_oldValue = qgetenv(env.latin1());
}
if (!value.isEmpty()) {
qputenv(env.latin1(), value.toLatin1());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment