fix crash when the user change the session

v0.6
audoban 8 years ago
parent aa60b95c47
commit 9e2033e752

@ -50,7 +50,6 @@ DockConfigView::DockConfigView(Plasma::Containment *containment, DockView *dockV
m_previousDockWinBehavior = m_dockView->dockWinBehavior(); m_previousDockWinBehavior = m_dockView->dockWinBehavior();
connections << connect(dockView, &QObject::destroyed, this, &QObject::deleteLater);
m_screenSyncTimer.setSingleShot(true); m_screenSyncTimer.setSingleShot(true);
m_screenSyncTimer.setInterval(100); m_screenSyncTimer.setInterval(100);
connections << connect(dockView, SIGNAL(screenChanged(QScreen *)), &m_screenSyncTimer, SLOT(start())); connections << connect(dockView, SIGNAL(screenChanged(QScreen *)), &m_screenSyncTimer, SLOT(start()));

Loading…
Cancel
Save