[Companion] Warning removed

This commit is contained in:
Bertrand Songis
2016-10-21 08:37:05 +02:00
parent d4b6ebd2fe
commit e8f043921f
+1 -1
View File
@@ -478,7 +478,7 @@ void LogsDialog::updateCursorsLabel()
QString LogsDialog::formatTimeDelta(double timeDelta)
{
if (abs(timeDelta) < 10) {
if (abs(int(timeDelta)) < 10) {
return QString("%1 s").arg(timeDelta, 1, 'f', 1);
}