diff options
author | Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com> | 2009-11-03 02:47:48 (GMT) |
---|---|---|
committer | Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com> | 2009-11-03 02:47:48 (GMT) |
commit | f72c2d50b6ab7fc4a8ea3524e22de63ca8a366f7 (patch) | |
tree | eabeb0d99d8a9ec94aecaf08ea89ff21977f0112 /src/tools | |
parent | 5fc1013753babd397efbe5b7bae0dac387fbc2fd (diff) | |
download | Qt-f72c2d50b6ab7fc4a8ea3524e22de63ca8a366f7.zip Qt-f72c2d50b6ab7fc4a8ea3524e22de63ca8a366f7.tar.gz Qt-f72c2d50b6ab7fc4a8ea3524e22de63ca8a366f7.tar.bz2 |
Fixed qrand global static related problem.
qrand() uses global static seed storage, but if used
from destructors of other global static objects
(directly or via ~QSettings() or QMap::insert())
the global static seed storage can be already deleted.
Fallback to plain rand() in this case.
Task-number: QTBUG-5218
Reviewed-by: Justin McPherson
Diffstat (limited to 'src/tools')
0 files changed, 0 insertions, 0 deletions