projects
/
dorian
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Maintain reading position on Symbian between orientations.
[dorian]
/
adopterwindow.cpp
diff --git
a/adopterwindow.cpp
b/adopterwindow.cpp
index
0ed8670
..
735d37c
100644
(file)
--- a/
adopterwindow.cpp
+++ b/
adopterwindow.cpp
@@
-137,9
+137,15
@@
void AdopterWindow::resizeEvent(QResizeEvent *event)
Trace t("AdopterWindow::resizeEvent");
MainBase::resizeEvent(event);
placeDecorations();
Trace t("AdopterWindow::resizeEvent");
MainBase::resizeEvent(event);
placeDecorations();
+#if defined(Q_WS_MAEMO_5)
if (bookView) {
QTimer::singleShot(110, bookView, SLOT(restoreLastBookmark()));
}
if (bookView) {
QTimer::singleShot(110, bookView, SLOT(restoreLastBookmark()));
}
+#elif defined(Q_OS_SYMBIAN)
+ if (bookView) {
+ QTimer::singleShot(1000, bookView, SLOT(adjustPosition()));
+ }
+#endif
}
void AdopterWindow::closeEvent(QCloseEvent *event)
}
void AdopterWindow::closeEvent(QCloseEvent *event)