Display the BPM column in the playlist properly.

This commit is contained in:
David Sansome 2010-06-10 16:54:07 +00:00
parent f4c7a50973
commit c41344524d
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,7 @@ QString PlaylistDelegateBase::displayText(const QVariant& value, const QLocale&)
return QString::number(v);
}
case QMetaType::Float:
case QVariant::Double: {
double v = value.toDouble();
if (v <= 0)