summaryrefslogtreecommitdiffstats
path: root/src/tools
diff options
context:
space:
mode:
authorDmytro Poplavskiy <dmytro.poplavskiy@nokia.com>2009-11-03 02:47:48 (GMT)
committerDmytro Poplavskiy <dmytro.poplavskiy@nokia.com>2009-11-03 02:47:48 (GMT)
commitf72c2d50b6ab7fc4a8ea3524e22de63ca8a366f7 (patch)
treeeabeb0d99d8a9ec94aecaf08ea89ff21977f0112 /src/tools
parent5fc1013753babd397efbe5b7bae0dac387fbc2fd (diff)
downloadQt-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