[KBalooRolesProvider] Support properties of type QStringList

Authored by broulik on Jun 6 2018, 7:17 AM.

Description

[KBalooRolesProvider] Support properties of type QStringList

QVariant::toString() unwraps a QStringList with a single string to a QString, however a list with multiple entries returns a null string.
Explicitly check for KFileMetaData property type and convert accordingly.

BUG: 395033
FIXED-IN: 18.04.3

Differential Revision: https://phabricator.kde.org/D13349

Details

Committed
broulikJun 6 2018, 7:17 AM
Differential Revision
D13349: [KBalooRolesProvider] Support properties of type QStringList
Parents
R318:588abbf1b699: Fix crash in PlacesItem::setUrl()
Branches
Unknown
Tags
Unknown