[ContainmentInterface] Also align containment context menu to panel

There's no point in only aligning applet context menus to the panel.

Differential Revision: https://phabricator.kde.org/D4453
This commit is contained in:
Kai Uwe Broulik 2017-02-06 12:31:30 +01:00
parent c32b01a6da
commit 1b02bfdff7

@ -924,7 +924,7 @@ void ContainmentInterface::mousePressEvent(QMouseEvent *event)
}
QPoint pos = event->globalPos();
if (window() && applet && m_containment->containmentType() == Plasma::Types::PanelContainment) {
if (window() && m_containment->containmentType() == Plasma::Types::PanelContainment) {
desktopMenu->adjustSize();
if (QScreen *screen = window()->screen()) {