summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-02-10 10:01:36 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-02-10 10:01:36 +0100
commite6bc31b0263c97cef99769c722b958ba788d0aa5 (patch)
tree63860114a7a5a5a47765b86eebdd5330062529ed
parentmargin-top in favorites from 7% to 4%. (diff)
downloadrekonq-e6bc31b0263c97cef99769c722b958ba788d0aa5.tar.xz
Fix popup position
-rw-r--r--src/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index e4890b72..55a08916 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -1058,7 +1058,7 @@ void MainWindow::notifyMessage(const QString &msg, Rekonq::Notify status)
//TODO: detect QStyle size
scrollbarSize = 17;
}
- QPoint webViewOrigin = m_view->currentWebTab()->mapToGlobal(QPoint(0,0));
+ QPoint webViewOrigin = m_view->currentWebTab()->view()->mapToGlobal(QPoint(0,0));
int bottomLeftY=webViewOrigin.y() + m_view->currentWebTab()->page()->viewportSize().height() - labelSize.height() - scrollbarSize;
// setting popup in bottom-left position