From c9aaf589308e8dce04a523b251b0216f47cb35ff Mon Sep 17 00:00:00 2001 From: Abs62 Date: Fri, 14 Mar 2014 17:42:22 +0400 Subject: [PATCH] Adjust code for Qt5 --- btreeidx.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btreeidx.cc b/btreeidx.cc index 62c23604..bbe3b62e 100644 --- a/btreeidx.cc +++ b/btreeidx.cc @@ -334,7 +334,7 @@ void BtreeWordSearchRequest::run() } } - if( isCancelled ) + if( Qt4x5::AtomicInt::loadAcquire( isCancelled ) ) break; if ( matches.size() >= maxResults )