Fix position of Dolphin menu with multiple-screens setup

BUG: 274495
FIXED-IN: 4.7.0
This commit is contained in:
Peter Penz 2011-05-30 16:32:03 +02:00
parent f51d29c124
commit 2fcd3dd788

View file

@ -2279,6 +2279,8 @@ void ToolBarMenu::showEvent(QShowEvent* event)
pos.ry() = button->mapToGlobal(QPoint(0, 0)).y() - height();
}
pos += screen.topLeft();
move(pos);
}