mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-12 12:54:29 +00:00
Merge branch 'Applications/18.04'
This commit is contained in:
commit
d8cf33d563
|
@ -78,6 +78,8 @@ QHash<QByteArray, QVariant> KBalooRolesProvider::roleValues(const Baloo::File& f
|
||||||
} else if (role == "bitrate") {
|
} else if (role == "bitrate") {
|
||||||
const QString bitrate = bitrateFromValue(value.toInt());
|
const QString bitrate = bitrateFromValue(value.toInt());
|
||||||
values.insert(role, bitrate);
|
values.insert(role, bitrate);
|
||||||
|
} else if (pi.valueType() == QVariant::StringList) {
|
||||||
|
values.insert(role, value.toStringList().join(QStringLiteral(", ")));
|
||||||
} else {
|
} else {
|
||||||
values.insert(role, value.toString());
|
values.insert(role, value.toString());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue