Connect to real window changed signal
In PanelView screenChanged is redeclared in order to create a property. However this signal is not the one that is emitted. This fixes the confif following the panels when moving between screens Reviewed-by: Aleix Pol
This commit is contained in:
parent
b5a04c55ea
commit
a8ddfe1def
@ -44,7 +44,7 @@ PanelConfigView::PanelConfigView(Plasma::Containment *containment, PanelView *pa
|
||||
m_panelView(panelView)
|
||||
{
|
||||
setScreen(panelView->screen());
|
||||
connect(panelView, &PanelView::screenChanged, [=](QScreen *screen){setScreen(screen); syncGeometry();});
|
||||
connect(panelView, &QWindow::screenChanged, [=](QScreen *screen){setScreen(screen); syncGeometry();});
|
||||
|
||||
setFlags(Qt::BypassWindowManagerHint);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user