mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-27 14:50:21 +03:00
fix crash when the user change the session
This commit is contained in:
parent
aa60b95c47
commit
9e2033e752
@ -50,7 +50,6 @@ DockConfigView::DockConfigView(Plasma::Containment *containment, DockView *dockV
|
||||
|
||||
m_previousDockWinBehavior = m_dockView->dockWinBehavior();
|
||||
|
||||
connections << connect(dockView, &QObject::destroyed, this, &QObject::deleteLater);
|
||||
m_screenSyncTimer.setSingleShot(true);
|
||||
m_screenSyncTimer.setInterval(100);
|
||||
connections << connect(dockView, SIGNAL(screenChanged(QScreen *)), &m_screenSyncTimer, SLOT(start()));
|
||||
|
Loading…
x
Reference in New Issue
Block a user