projects
/
dorian
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4cbc4d
)
Add direct access to read library book on Symbian.
author
Akos Polster
<akos@pipacs.com>
Sun, 2 Jan 2011 14:28:57 +0000
(15:28 +0100)
committer
Akos Polster
<akos@pipacs.com>
Sun, 2 Jan 2011 14:28:57 +0000
(15:28 +0100)
infodialog.cpp
patch
|
blob
|
history
diff --git
a/infodialog.cpp
b/infodialog.cpp
index
6080d59
..
904eb79
100644
(file)
--- 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()