Add direct access to read library book on Symbian.
authorAkos Polster <akos@pipacs.com>
Sun, 2 Jan 2011 14:28:57 +0000 (15:28 +0100)
committerAkos Polster <akos@pipacs.com>
Sun, 2 Jan 2011 14:28:57 +0000 (15:28 +0100)
infodialog.cpp

index 6080d59..904eb79 100644 (file)
@@ -65,8 +65,10 @@ InfoDialog::InfoDialog(Book *b, QWidget *parent, bool showButtons):
 
     addButton(tr("Read"), this, SLOT(onReadBook()),
               QDialogButtonBox::ActionRole);
+#ifndef Q_OS_SYMBIAN
     addButton(tr("Delete"), this, SLOT(onRemoveBook()),
               QDialogButtonBox::DestructiveRole);
+#endif
 }
 
 void InfoDialog::onReadBook()