Fix QLocale error when compiling on old gcc
This commit is contained in:
parent
33d09c320b
commit
c9cc38e971
|
@ -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
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue
Block a user