Skip to content

Commit e2c83ae

Browse files
committedMar 12, 2016
Add CancelQuery for Qt5 only.
1 parent 72a6b77 commit e2c83ae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/providers/spatialite/qspatialite/qsql_spatialite.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,9 @@ bool QSpatiaLiteDriver::hasFeature(DriverFeature f) const
545545
case BatchOperations:
546546
case EventNotifications:
547547
case MultipleResultSets:
548+
#if QT_VERSION >= 0x050000
548549
case CancelQuery:
550+
#endif
549551
return false;
550552
}
551553
return false;

0 commit comments

Comments
 (0)
Please sign in to comment.