Mercurial > hg > svapp
comparison framework/MainWindowBase.cpp @ 606:ffda5e5444aa
This is odd, removing it doesn't seem to work
author | Chris Cannam |
---|---|
date | Tue, 03 Jul 2018 15:06:24 +0100 |
parents | 8b8eab39bb83 |
children | 125200a67543 |
comparison
equal
deleted
inserted
replaced
605:8b8eab39bb83 | 606:ffda5e5444aa |
---|---|
4052 QProcess::execute("c:/windows/explorer.exe", args); | 4052 QProcess::execute("c:/windows/explorer.exe", args); |
4053 #else | 4053 #else |
4054 args << path; | 4054 args << path; |
4055 QProcess process; | 4055 QProcess process; |
4056 QProcessEnvironment env = QProcessEnvironment::systemEnvironment(); | 4056 QProcessEnvironment env = QProcessEnvironment::systemEnvironment(); |
4057 env.remove("LD_LIBRARY_PATH"); | 4057 env.insert("LD_LIBRARY_PATH", ""); |
4058 process.setProcessEnvironment(env); | 4058 process.setProcessEnvironment(env); |
4059 process.start( | 4059 process.start( |
4060 #if defined Q_OS_MAC | 4060 #if defined Q_OS_MAC |
4061 "/usr/bin/open", | 4061 "/usr/bin/open", |
4062 #else | 4062 #else |