1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 01:55:48 -05:00

FileSink: fixed compiler warnings

This commit is contained in:
f4exb 2020-08-14 00:16:17 +02:00
parent afd76e274e
commit e037aa61a2

View File

@ -585,6 +585,8 @@ QString FileSinkGUI::displayScaled(uint64_t value, int precision)
return tr("%1M").arg(QString::number(value / 1000000.0, 'f', precision));
} else if (value < 1000000000000) {
return tr("%1G").arg(QString::number(value / 1000000000.0, 'f', precision));
} else {
return tr("%1").arg(QString::number(value, 'e', precision));
}
}