forked from qt-creator/qt-creator
Git: Fix build with Qt 5.4
Change-Id: Ibbbf80eb50aa3226d7f953033edcc7d2458fe237 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
d33e86a4be
commit
05e372c6ea
@@ -279,7 +279,7 @@ void GitSubmitEditor::forceUpdateFileModel()
|
||||
{
|
||||
GitSubmitEditorWidget *w = submitEditorWidget();
|
||||
if (w->updateInProgress())
|
||||
QTimer::singleShot(10, &GitSubmitEditor::forceUpdateFileModel);
|
||||
QTimer::singleShot(10, this, [this] { forceUpdateFileModel(); });
|
||||
else
|
||||
updateFileModel();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user