From: Peter Penz Date: Mon, 30 May 2011 14:32:03 +0000 (+0200) Subject: Fix position of Dolphin menu with multiple-screens setup X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/2fcd3dd7887264b909ca2f8530f8b33ac76cf2be?ds=sidebyside Fix position of Dolphin menu with multiple-screens setup BUG: 274495 FIXED-IN: 4.7.0 --- 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); }