I\'m having a strange problem here, and I can\'t manage to find a good explanation to it, so I thought of asking you guys :
Consider the following method :
If you make the call fast enough the value of QTime::currentTime().msec() will not change, and you're basically re-seeding qsrand with the same seed, causing the next random number generated to be the same as the prior one.
QTime::currentTime().msec()
qsrand