mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 04:24:09 +00:00
Adjust code for Qt5
This commit is contained in:
parent
4bbe1aaee5
commit
c9aaf58930
|
@ -334,7 +334,7 @@ void BtreeWordSearchRequest::run()
|
|||
}
|
||||
}
|
||||
|
||||
if( isCancelled )
|
||||
if( Qt4x5::AtomicInt::loadAcquire( isCancelled ) )
|
||||
break;
|
||||
|
||||
if ( matches.size() >= maxResults )
|
||||
|
|
Loading…
Reference in a new issue