┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2011-05-30 16:32:03 +0200
committerPeter Penz <[email protected]>2011-05-30 16:33:35 +0200
commit2fcd3dd7887264b909ca2f8530f8b33ac76cf2be (patch)
tree1f8dde874d66fb4fb31457d4c25e81578672da07 /src/dolphinmainwindow.cpp
parentf51d29c124952ad2064936920d6635e59d6bbb2a (diff)
Fix position of Dolphin menu with multiple-screens setup
BUG: 274495 FIXED-IN: 4.7.0
Diffstat (limited to 'src/dolphinmainwindow.cpp')
-rw-r--r--src/dolphinmainwindow.cpp2
1 files changed, 2 insertions, 0 deletions
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);
}