From e037aa61a230a3e9aa5baf89296ac051239c52f5 Mon Sep 17 00:00:00 2001 From: f4exb Date: Fri, 14 Aug 2020 00:16:17 +0200 Subject: [PATCH] FileSink: fixed compiler warnings --- plugins/channelrx/filesink/filesinkgui.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/channelrx/filesink/filesinkgui.cpp b/plugins/channelrx/filesink/filesinkgui.cpp index 779ee2709..aece3a186 100644 --- a/plugins/channelrx/filesink/filesinkgui.cpp +++ b/plugins/channelrx/filesink/filesinkgui.cpp @@ -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)); } }