Verified Commit c7c3e11c authored by Daniel Vrátil's avatar Daniel Vrátil 🤖

Fix build against Qt 5.14

parent f91b5dc2
......@@ -287,7 +287,7 @@ protected:
Query::Condition cond;
cond.addValueCondition(PimItem::collectionIdColumn(), Query::Equals, mCollection.id());
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
cond.addValueCondition(PimItem::remoteIdColumn(), Query::In, mLocalRids.toList());
cond.addValueCondition(PimItem::remoteIdColumn(), Query::In, QVariant::fromValue(mLocalRids.toList()));
#else
cond.addValueCondition(PimItem::remoteIdColumn(), Query::In, QStringList(mLocalRids.begin(), mLocalRids.end()));
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment