Commit 05e372c6 authored by Nikolai Kosjar's avatar Nikolai Kosjar Committed by Orgad Shaneh
Browse files

Git: Fix build with Qt 5.4



Change-Id: Ibbbf80eb50aa3226d7f953033edcc7d2458fe237
Reviewed-by: default avatarOrgad Shaneh <orgads@gmail.com>
parent d33e86a4
......@@ -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();
}
......
Supports Markdown
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