summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-03-27 09:34:28 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-04-12 02:30:01 +0200
commit5ef01bdbb74b5f02adf58df5c01125a1d4b9fb01 (patch)
treeb37132547b2199b6765ba8c4394721f9859dac07 /src/mainwindow.cpp
parentclean up failed rebasing and implement history timed expire check (diff)
downloadrekonq-5ef01bdbb74b5f02adf58df5c01125a1d4b9fb01.tar.xz
Last clean up on settings
Get sure settings are updated everytime Strings, spaces and one unuseful slot removed clean up
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 7f9c98d9..5465afa6 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -1304,8 +1304,8 @@ void MainWindow::notifyMessage(const QString &msg, Rekonq::Notify status)
const QPoint mousePos = mapFromGlobal(QCursor::pos());
const QPoint bottomPoint = m_view->mapTo(this, m_view->geometry().bottomLeft());
- // +1 because bottom() returns top() + height() - 1 , see QRect doku
- int y = bottomPoint.y() + 1 - m_popup->height() - hScrollbarSize;
+
+ int y = bottomPoint.y() + 1 - m_popup->height() - hScrollbarSize; // +1 because bottom() returns top() + height() - 1, see QRect doku
int x = QRect(QPoint(0, y), labelSize).contains(mousePos) || actionBarsVisible
? width() - labelSize.width() - vScrollbarSize
: 0;