From c9cc38e971d06e9d79637a5199d2f12a75006f65 Mon Sep 17 00:00:00 2001 From: miruka Date: Fri, 26 Jun 2020 09:56:46 -0400 Subject: [PATCH] Fix QLocale error when compiling on old gcc --- src/utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.h b/src/utils.h index cb3d0add..f3fbcf29 100644 --- a/src/utils.h +++ b/src/utils.h @@ -22,7 +22,7 @@ public: Utils() {}; public slots: - QString formattedBytes(qint64 bytes, int precision = 2) const { + QString formattedBytes(qint64 bytes, int precision = 2) { return this->appLocale.formattedDataSize( bytes, precision, QLocale::DataSizeTraditionalFormat );