Adjust code for Qt5

This commit is contained in:
Abs62 2014-03-14 17:42:22 +04:00
parent 4bbe1aaee5
commit c9aaf58930

View file

@ -334,7 +334,7 @@ void BtreeWordSearchRequest::run()
} }
} }
if( isCancelled ) if( Qt4x5::AtomicInt::loadAcquire( isCancelled ) )
break; break;
if ( matches.size() >= maxResults ) if ( matches.size() >= maxResults )