forked from qt-creator/qt-creator
Various Plugins: Add context object into connections
Change-Id: I360677bebfef16a3233b3b8177cff6da57ec7c31 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
@@ -205,7 +205,7 @@ void AxivionPluginPrivate::onStartupProjectChanged()
|
||||
void AxivionPluginPrivate::fetchProjectInfo(const QString &projectName)
|
||||
{
|
||||
if (m_runningQuery) { // re-schedule
|
||||
QTimer::singleShot(3000, [this, projectName]{ fetchProjectInfo(projectName); });
|
||||
QTimer::singleShot(3000, this, [this, projectName] { fetchProjectInfo(projectName); });
|
||||
return;
|
||||
}
|
||||
clearAllMarks();
|
||||
@@ -228,7 +228,7 @@ void AxivionPluginPrivate::fetchProjectInfo(const QString &projectName)
|
||||
void AxivionPluginPrivate::fetchRuleInfo(const QString &id)
|
||||
{
|
||||
if (m_runningQuery) {
|
||||
QTimer::singleShot(3000, [this, id]{ fetchRuleInfo(id); });
|
||||
QTimer::singleShot(3000, this, [this, id] { fetchRuleInfo(id); });
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user