projects
/
dorian
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a477146
)
Don't show progress on MouseButtonRelease on Symbian.
author
Akos Polster
<akos@pipacs.com>
Sun, 2 Jan 2011 16:36:07 +0000
(17:36 +0100)
committer
Akos Polster
<akos@pipacs.com>
Sun, 2 Jan 2011 16:36:07 +0000
(17:36 +0100)
bookview.cpp
patch
|
blob
|
history
diff --git
a/bookview.cpp
b/bookview.cpp
index
9f3daf5
..
c3b3166
100644
(file)
--- a/
bookview.cpp
+++ b/
bookview.cpp
@@
-400,7
+400,9
@@
bool BookView::eventFilter(QObject *o, QEvent *e)
mousePressed = true;
break;
case QEvent::MouseButtonRelease:
+#ifndef Q_OS_SYMBIAN // Too heavy on Symbian
showProgress();
+#endif
mousePressed = false;
break;
case QEvent::MouseMove:
@@
-434,6
+436,7
@@
void BookView::goToPosition(qreal position)
void BookView::showProgress()
{
+ TRACE;
if (mBook) {
int contentsHeight = page()->mainFrame()->contentsSize().height();
qreal pos = (qreal)(page()->mainFrame()->scrollPosition().y()) /