From 8450a9ded0762db7ef14b4685ae7020cba324f7a Mon Sep 17 00:00:00 2001 From: Arnaud Bienner Date: Mon, 18 Mar 2013 23:41:01 +0100 Subject: [PATCH] Try to fix Windows build --- ext/libclementine-tagreader/tagreader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/libclementine-tagreader/tagreader.cpp b/ext/libclementine-tagreader/tagreader.cpp index 1bd91c024..f555afe99 100644 --- a/ext/libclementine-tagreader/tagreader.cpp +++ b/ext/libclementine-tagreader/tagreader.cpp @@ -417,7 +417,7 @@ void TagReader::ParseFMPSFrame(const QString& name, const QString& value, } else if (name == "FMPS_Rating_Amarok_Score") { var = parser.result()[0][0]; if (var.type() == QVariant::Double) { - song->set_score(var.toDouble() * 100); + song->set_score(var.toFloat() * 100); } } }