diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-02-10 10:01:36 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-02-10 10:01:36 +0100 |
commit | e6bc31b0263c97cef99769c722b958ba788d0aa5 (patch) | |
tree | 63860114a7a5a5a47765b86eebdd5330062529ed /src | |
parent | margin-top in favorites from 7% to 4%. (diff) | |
download | rekonq-e6bc31b0263c97cef99769c722b958ba788d0aa5.tar.xz |
Fix popup position
Diffstat (limited to 'src')
-rw-r--r-- | src/mainwindow.cpp | 2 |
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 |