Set the panel config to the same screen as the panel

This commit is contained in:
David Edmundson 2013-12-16 19:17:32 +01:00
parent 4336262d31
commit 36e4a45377

View File

@ -40,6 +40,8 @@ PanelConfigView::PanelConfigView(Plasma::Containment *containment, PanelView *pa
m_containment(containment),
m_panelView(panelView)
{
setScreen(panelView->screen());
connect(panelView, &PanelView::screenChanged, [=](QScreen *screen){setScreen(screen); syncGeometry();});
setFlags(Qt::FramelessWindowHint);