user avatar
QThreadPool: Fix regression from Qt 4 in dealing with priority starts
Thiago Macieira authored
The optimisation done in cbaf52b0

 for Qt
5.0 got the order wrong of the comparison. The queue must be sorted in
decreasing priority order. But since higher numbers mean higher
priority, that means the queue must be sorted in decreasing priority
number order.

Task-number: QTBUG-29163
Change-Id: Iaf3424b9bb445bf5c71518927f37253cead454f3
Reviewed-by: default avatarKonstantin Ritt <ritt.ks@gmail.com>
6c98035c