Mercurial > hg > svapp
changeset 600:ca96a514fbbb
Merge from branch plugin-path-config
author | Chris Cannam |
---|---|
date | Mon, 11 Jun 2018 14:40:56 +0100 |
parents | 7da68349a0c5 (current diff) a558a3fb44fc (diff) |
children | 021d42e6c8cb |
files | |
diffstat | 1 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/framework/MainWindowBase.cpp Tue May 15 11:11:49 2018 +0100 +++ b/framework/MainWindowBase.cpp Mon Jun 11 14:40:56 2018 +0100 @@ -73,6 +73,8 @@ #include "data/osc/OSCQueue.h" #include "data/midi/MIDIInput.h" +#include "system/System.h" + #include <bqaudioio/SystemPlaybackTarget.h> #include <bqaudioio/SystemAudioIO.h> #include <bqaudioio/AudioFactory.h> @@ -3996,8 +3998,11 @@ process->start("open", args); #else #ifdef Q_OS_WIN32 - QString pf(getenv("ProgramFiles")); - QString command = pf + QString("\\Internet Explorer\\IEXPLORE.EXE"); + std::string pfiles; + (void)getEnvUtf8("ProgramFiles", pfiles); + QString command = + QString::fromStdString(pfiles) + + QString("\\Internet Explorer\\IEXPLORE.EXE"); args.append(url); process->start(command, args);