From 150b38724b43dc5746b7e12cadd52483fc524535 Mon Sep 17 00:00:00 2001 From: Akos Polster Date: Sun, 2 Jan 2011 15:28:57 +0100 Subject: [PATCH] Add direct access to read library book on Symbian. --- infodialog.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/infodialog.cpp b/infodialog.cpp index 6080d59..904eb79 100644 --- a/infodialog.cpp +++ b/infodialog.cpp @@ -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() -- 1.7.9.5