Fix QLocale error when compiling on old gcc

This commit is contained in:
miruka 2020-06-26 09:56:46 -04:00
parent 33d09c320b
commit c9cc38e971

View File

@ -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
);