QProcessManager: minor optimization
authorRitt Konstantin <ritt.ks@gmail.com>
Tue, 11 Jan 2011 13:31:05 +0000 (16:31 +0300)
committerOlivier Goffart <olivier.goffart@nokia.com>
Tue, 11 Jan 2011 14:55:07 +0000 (15:55 +0100)
commit924238ae5a3c784d907cf6f95df8eb7c3e568970
tree651d817b76ab56936aa8b6ede2763d6efdba905a
parent3e865c9f80bd3666673158e8a1664e7405fe9364
QProcessManager: minor optimization

QHash is slightly faster than QMap and should be preferred where
the key order has no meaning;
take() is faster than value() + remove()

Reviewed-by: Olivier Goffart
Merge-request: 1017
src/corelib/io/qprocess_unix.cpp