mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 02:42:55 +00:00
use QSTACKARRAY() macro in QProcessPrivate::processStarted()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
16ae8393c0
commit
88cc7f4429
1 changed files with 1 additions and 1 deletions
|
@ -673,7 +673,7 @@ void QProcessPrivate::execChild(const char *workingDir, char **path, char **argv
|
|||
|
||||
bool QProcessPrivate::processStarted()
|
||||
{
|
||||
ushort buf[errorBufferMax];
|
||||
QSTACKARRAY(ushort, buf, errorBufferMax);
|
||||
qint64 i = qt_safe_read(childStartedPipe[0], &buf, sizeof buf);
|
||||
if (startupSocketNotifier) {
|
||||
startupSocketNotifier->setEnabled(false);
|
||||
|
|
Loading…
Add table
Reference in a new issue