summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric Bellegarde <gnumdk@gmail.com>2011-02-10 10:44:28 +0100
committerCedric Bellegarde <gnumdk@gmail.com>2011-02-10 10:44:28 +0100
commitb6646bc8a88f28fd0a040c47fbca97508ae16bde (patch)
tree67a937c21d2ee7eb42a9526d2a38b1d95a9d1206
parentrekonq 0.6.80 (AKA rekonq 0.7 alpha) (diff)
downloadrekonq-b6646bc8a88f28fd0a040c47fbca97508ae16bde.tar.xz
Fix issue 264223: Use mapToGlobal() for main window as geometry.x() seems to sometimes return wrong values
-rw-r--r--src/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 62f420b7..1f867a2a 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -1206,7 +1206,7 @@ void MainWindow::notifyMessage(const QString &msg, Rekonq::Notify status)
int bottomLeftY = webViewOrigin.y() + tab->page()->viewportSize().height() - labelSize.height() - scrollbarSize;
// setting popup in bottom-left position
- int x = geometry().x();
+ int x = mapToGlobal(QPoint(0, 0)).x();
int y = bottomLeftY;
QPoint mousePos = tab->mapToGlobal(tab->view()->mousePos());