From: Akos Polster Date: Sun, 2 Jan 2011 14:28:57 +0000 (+0100) Subject: Add direct access to read library book on Symbian. X-Git-Url: http://vcs.maemo.org/git/?a=commitdiff_plain;h=150b38724b43dc5746b7e12cadd52483fc524535;hp=d4cbc4dac9cc7cf159220ef56a9b1014c68b46c1;p=dorian Add direct access to read library book on Symbian. --- 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()