Commit 44b0ca47 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

ClearCase: Adapt to removed signal

Change-Id: I6296f23af08890cc82880715db7c84f51d9cd6ce
Reviewed-by: Tobias Hunger's avatarTobias Hunger <tobias.hunger@qt.io>
parent f59759f9
......@@ -2016,7 +2016,11 @@ void ClearCasePlugin::projectChanged(Project *project)
m_topLevel = topLevel;
if (topLevel.isEmpty())
return;
connect(ICore::mainWindow(), SIGNAL(windowActivated()), this, SLOT(syncSlot()));
connect(qApp, &QApplication::applicationStateChanged,
this, [this](Qt::ApplicationState state) {
if (state == Qt::ApplicationActive)
syncSlot();
});
updateStreamAndView();
if (m_viewData.name.isEmpty())
return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment