QString label("At ");
label += QString::number((int)(100 * book->
getProgress(bookmark.part, bookmark.pos))) + "%";
+ if (!bookmark.note.isEmpty()) {
+ label += ": " + bookmark.note;
+ }
+ label += "\n";
int chapterIndex = book->chapterFromPart(bookmark.part);
if (chapterIndex != -1) {
QString chapterId = book->chapters[chapterIndex];
- label += ", in\"" + book->content[chapterId].name + "\"";
- }
- if (!bookmark.note.isEmpty()) {
- label += "\n" + bookmark.note;
+ label += "In\"" + book->content[chapterId].name + "\"";
}
QLabel *info = new QLabel(label, this);
addWidget(info);
QString label("At ");
label += QString::number((int)(100 * book_->
getProgress(bookmark.part, bookmark.pos))) + "%";
+ if (!bookmark.note.isEmpty()) {
+ label += ": " + bookmark.note;
+ }
+ label += "\n";
int chapterIndex = book_->chapterFromPart(bookmark.part);
if (chapterIndex != -1) {
QString chapterId = book_->chapters[chapterIndex];
- label += ", in \"" + book_->content[chapterId].name + "\"";
- }
- if (!bookmark.note.isEmpty()) {
- label += "\n" + bookmark.note;
+ label += "In \"" + book_->content[chapterId].name + "\"";
}
data.append(label);
}
* Fix book view kinetic scrolling on Symbian
* Failed attempt to add kinetic scrolling to lists on Symbian
* Fix database creation on Symbian
+ * Bookmarks to have notes
-- Akos Polster <akos@pipacs.com> Sat, 10 Oct 2010 02:00:00 +0200