View Single Post
Old 01-30-2013, 04:25 AM   #45
Manolo
Addict
Manolo has learned how to read e-booksManolo has learned how to read e-booksManolo has learned how to read e-booksManolo has learned how to read e-booksManolo has learned how to read e-booksManolo has learned how to read e-booksManolo has learned how to read e-books
 
Manolo's Avatar
 
Posts: 207
Karma: 792
Join Date: Dec 2012
Location: Spain
Device: Kobo AuraH2O & Onyx i62HD & M92
Quote:
Originally Posted by pkbo View Post
CoolReader shows strange numbers in the bookmarks list, for instance "1090" when current book has 540 pages only. This confuses users. Actually this is percent and should be displayed as 10.90% To fix it, onyx devs should replace their code:
Code:
        int pos = list[i]->getPercent();
        QString str(tr("%1"));
        str = str.arg(pos);
        QStandardItem *page = new QStandardItem(str);
with:
Code:
QStandardItem *page = new QStandardItem(crpercent(list[i]->getPercent()));
in the src/cr3/cr3_onyx/src/mainwindow.cpp
Thanks pkobo!
I'll add it to first post
edit: added to first post

Last edited by Manolo; 01-30-2013 at 04:29 AM.
Manolo is offline   Reply With Quote