Show button for full screen mode on Symbian, too.
[dorian] / bookmarkinfodialog.cpp
index 847cd3b..18c16f7 100644 (file)
@@ -8,16 +8,20 @@ BookmarkInfoDialog::BookmarkInfoDialog(Book *b, int i, QWidget *parent):
     book(b),
     index(i)
 {
-    setWindowTitle(tr("Bookmark Details"));
+    setWindowTitle(tr("Bookmark details"));
 
     Book::Bookmark bookmark = book->bookmarks()[index];
     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\n\"" + book->content[chapterId].name + "\"";
+        label += "In\"" + book->content[chapterId].name + "\"";
     }
     QLabel *info = new QLabel(label, this);
     addWidget(info);