From 2fcd3dd7887264b909ca2f8530f8b33ac76cf2be Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Mon, 30 May 2011 16:32:03 +0200 Subject: [PATCH] Fix position of Dolphin menu with multiple-screens setup BUG: 274495 FIXED-IN: 4.7.0 --- src/dolphinmainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index e2cba6b7a..3b5f493ca 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -2279,6 +2279,8 @@ void ToolBarMenu::showEvent(QShowEvent* event) pos.ry() = button->mapToGlobal(QPoint(0, 0)).y() - height(); } + pos += screen.topLeft(); + move(pos); } -- 2.47.3