Updated WavPack decoder binary to v5.1.0 (2017-01-20), compiled with ICL 18.0 and...
[LameXP.git] / etc / Patches / deprecated / Qt-v4.8.4-QProcess-BreakawayFromJob.V1.diff
blob5d64815ba0e672403ee516e4b596bd2db0d973d7
1 diff --git "a/D:\\Qt\\QtSource\\4.8.4\\src\\corelib\\io\\qprocess_win.org" "b/D:\\Qt\\QtSource\\4.8.4\\src\\corelib\\io\\qprocess_win.cpp"
2 index b78ad7d..28f08ff 100644
3 --- "a/D:\\Qt\\QtSource\\4.8.4\\src\\corelib\\io\\qprocess_win.org"
4 +++ "b/D:\\Qt\\QtSource\\4.8.4\\src\\corelib\\io\\qprocess_win.cpp"
5 @@ -413,6 +413,7 @@ void QProcessPrivate::startProcess()
6 #else
7 DWORD dwCreationFlags = CREATE_NO_WINDOW;
8 dwCreationFlags |= CREATE_UNICODE_ENVIRONMENT;
9 + dwCreationFlags |= CREATE_BREAKAWAY_FROM_JOB;
10 STARTUPINFOW startupInfo = { sizeof( STARTUPINFO ), 0, 0, 0,
11 (ulong)CW_USEDEFAULT, (ulong)CW_USEDEFAULT,
12 (ulong)CW_USEDEFAULT, (ulong)CW_USEDEFAULT,
13 @@ -858,7 +859,7 @@ bool QProcessPrivate::startDetached(const QString &program, const QStringList &a
14 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
16 success = CreateProcess(0, (wchar_t*)args.utf16(),
17 - 0, 0, FALSE, CREATE_UNICODE_ENVIRONMENT | CREATE_NEW_CONSOLE, 0,
18 + 0, 0, FALSE, CREATE_UNICODE_ENVIRONMENT | CREATE_NEW_CONSOLE | CREATE_BREAKAWAY_FROM_JOB, 0,
19 workingDir.isEmpty() ? 0 : (wchar_t*)workingDir.utf16(),
20 &startupInfo, &pinfo);
21 #endif // Q_OS_WINCE