View Single Post
Old 01-30-2013, 03:13 AM   #44
pkbo
Addict
pkbo can program the VCR without an owner's manual.pkbo can program the VCR without an owner's manual.pkbo can program the VCR without an owner's manual.pkbo can program the VCR without an owner's manual.pkbo can program the VCR without an owner's manual.pkbo can program the VCR without an owner's manual.pkbo can program the VCR without an owner's manual.pkbo can program the VCR without an owner's manual.pkbo can program the VCR without an owner's manual.pkbo can program the VCR without an owner's manual.pkbo can program the VCR without an owner's manual.
 
Posts: 234
Karma: 186410
Join Date: Sep 2006
Device: PocketBook 360
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
pkbo is offline   Reply With Quote