Fix a typo, take 2

This commit is contained in:
Méven Car 2023-05-09 12:11:21 +02:00
parent 2b877de270
commit ac1f8131f9

View file

@ -112,7 +112,7 @@ QHash<QByteArray, QVariant> KBalooRolesProvider::roleValues(const Baloo::File &f
});
values.insert(role, propertyInfo.formatAsDisplayString(list));
} else {
if (propertyInfo.valueTypeId() == QMetaType::Type::QDateTime) {
if (propertyInfo.valueType() == QMetaType::Type::QDateTime) {
// Let dolphin format later Dates
values.insert(role, (*rangeBegin).second);
} else {