View Single Post
Old 07-17-2024, 01:30 PM   #16
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,930
Karma: 6361444
Join Date: Nov 2009
Device: many
@BeckyEbook would you please try the following:

Replace

QString fsize = QString::number(ffsize, 'f', 2);

With

QString fsize = QLocale().toString(ffsize, 'f', 2);

Then your file sizes should use your decimal points and QLocale().toFloat() should now work and sorting should then work.

If that does work, please let me know and I will track down and fix all the other reports similarly.
KevinH is offline   Reply With Quote