1
0
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:
audoban 2017-04-02 02:16:25 -05:00
parent aa60b95c47
commit 9e2033e752

View File

@ -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()));