Commit c7506ad5 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix stabilize and speed jobs not starting

Fixes #1183
parent 383281f6
......@@ -202,7 +202,7 @@ void SpeedTask::run()
for (const auto &it : m_filterParams) {
qDebug()<<". . ."<<it.first<<" = "<<it.second;
if (it.second.type() == QVariant::Double) {
producerArgs << QString("%1=%2").arg(it.first, it.second.toDouble());
producerArgs << QString("%1=%2").arg(it.first, QString::number(it.second.toDouble()));
} else {
producerArgs << QString("%1=%2").arg(it.first, it.second.toString());
}
......
......@@ -145,7 +145,7 @@ void StabilizeTask::run()
for (const auto &it : m_filterParams) {
qDebug()<<". . ."<<it.first<<" = "<<it.second;
if (it.second.type() == QVariant::Double) {
producerArgs << QString("%1=%2").arg(it.first, it.second.toDouble());
producerArgs << QString("%1=%2").arg(it.first, QString::number(it.second.toDouble()));
} else {
producerArgs << QString("%1=%2").arg(it.first, it.second.toString());
}
......
Markdown is supported
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