View Single Post
Old 01-30-2013, 04:25 AM   #45
Manolo
Groupie
Manolo doesn't litterManolo doesn't litterManolo doesn't litter
 
Manolo's Avatar
 
Posts: 161
Karma: 216
Join Date: Dec 2012
Location: Spain
Device: Onyx Boox i62HD
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