mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 01:40:02 +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") {
|
||||
const QString bitrate = bitrateFromValue(value.toInt());
|
||||
values.insert(role, bitrate);
|
||||
} else if (pi.valueType() == QVariant::StringList) {
|
||||
values.insert(role, value.toStringList().join(QStringLiteral(", ")));
|
||||
} else {
|
||||
values.insert(role, value.toString());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue