mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
Fix position of Dolphin menu with multiple-screens setup
BUG: 274495 FIXED-IN: 4.7.0
This commit is contained in:
parent
f51d29c124
commit
2fcd3dd788
1 changed files with 2 additions and 0 deletions
|
@ -2279,6 +2279,8 @@ void ToolBarMenu::showEvent(QShowEvent* event)
|
|||
pos.ry() = button->mapToGlobal(QPoint(0, 0)).y() - height();
|
||||
}
|
||||
|
||||
pos += screen.topLeft();
|
||||
|
||||
move(pos);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue