projects
/
dorian
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9c9936e
)
Fix forward navigation control on Linux.
master
author
Akos Polster
<polster@nolove.pipacs.com>
Sat, 18 Jun 2011 19:29:13 +0000
(21:29 +0200)
committer
Akos Polster
<polster@nolove.pipacs.com>
Sat, 18 Jun 2011 19:29:13 +0000
(21:29 +0200)
adopterwindow.cpp
patch
|
blob
|
history
diff --git
a/adopterwindow.cpp
b/adopterwindow.cpp
index
7ec642d
..
b60b61a
100644
(file)
--- a/
adopterwindow.cpp
+++ b/
adopterwindow.cpp
@@
-216,6
+216,10
@@
void AdopterWindow::placeDecorations()
qDebug() << "Has the book view";
int extraHeight = 0;
qDebug() << "Has the book view";
int extraHeight = 0;
+#if defined(Q_WS_X11) && !defined(Q_WS_MAEMO_5)
+ extraHeight += toolBarHeight();
+#endif
+
QRect geo = bookView->geometry();
qDebug() << "bookView:" << geo;
QRect geo = bookView->geometry();
qDebug() << "bookView:" << geo;
@@
-225,8
+229,10
@@
void AdopterWindow::placeDecorations()
previousButton->setGeometry(geo.x(),
geo.y() + geo.height() - TranslucentButton::pixels + extraHeight,
TranslucentButton::pixels, TranslucentButton::pixels);
previousButton->setGeometry(geo.x(),
geo.y() + geo.height() - TranslucentButton::pixels + extraHeight,
TranslucentButton::pixels, TranslucentButton::pixels);
- nextButton->setGeometry(geo.x() + geo.width() - TranslucentButton::pixels,
- geo.y(), TranslucentButton::pixels, TranslucentButton::pixels);
+ nextButton->setGeometry(
+ geo.x() + geo.width() - TranslucentButton::pixels,
+ geo.y() + extraHeight, TranslucentButton::pixels,
+ TranslucentButton::pixels);
progress->flash();
previousButton->flash();
nextButton->flash();
progress->flash();
previousButton->flash();
nextButton->flash();