forked from qt-creator/qt-creator
ClearCase: Adapt to removed signal
Change-Id: I6296f23af08890cc82880715db7c84f51d9cd6ce Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
f59759f9da
commit
44b0ca4754
@@ -2016,7 +2016,11 @@ void ClearCasePlugin::projectChanged(Project *project)
|
|||||||
m_topLevel = topLevel;
|
m_topLevel = topLevel;
|
||||||
if (topLevel.isEmpty())
|
if (topLevel.isEmpty())
|
||||||
return;
|
return;
|
||||||
connect(ICore::mainWindow(), SIGNAL(windowActivated()), this, SLOT(syncSlot()));
|
connect(qApp, &QApplication::applicationStateChanged,
|
||||||
|
this, [this](Qt::ApplicationState state) {
|
||||||
|
if (state == Qt::ApplicationActive)
|
||||||
|
syncSlot();
|
||||||
|
});
|
||||||
updateStreamAndView();
|
updateStreamAndView();
|
||||||
if (m_viewData.name.isEmpty())
|
if (m_viewData.name.isEmpty())
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user