Commit eb6ea924 authored by Corbin Schwimmbeck's avatar Corbin Schwimmbeck
Browse files

Use real SI unit

Fixing the unit to be consistent with the rest of Plasma (e.g. Dolphin).
Using the letter p to mean "per" is specific to the English language, and not standard notation. This is as advised in kformat.h.
I couldn't find a specific format enum for it, but there may be one.
parent d6b1e2e1
Pipeline #162831 passed with stage
in 7 minutes and 51 seconds
......@@ -78,7 +78,7 @@ QVariant TrackMetadataModel::data(const QModelIndex &index, int role) const
auto bitRate = mTrackData.bitRate();
if (bitRate > 0) {
result = KFormat().formatValue(bitRate, QStringLiteral("bps"), 0,
result = KFormat().formatValue(bitRate, QStringLiteral("bit/s"), 0,
KFormat::UnitPrefix::Kilo, KFormat::MetricBinaryDialect);
Supports Markdown
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