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

Git: Fix build with Qt 5.4

Change-Id: Ibbbf80eb50aa3226d7f953033edcc7d2458fe237
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
parent d33e86a4
...@@ -279,7 +279,7 @@ void GitSubmitEditor::forceUpdateFileModel() ...@@ -279,7 +279,7 @@ void GitSubmitEditor::forceUpdateFileModel()
{ {
GitSubmitEditorWidget *w = submitEditorWidget(); GitSubmitEditorWidget *w = submitEditorWidget();
if (w->updateInProgress()) if (w->updateInProgress())
QTimer::singleShot(10, &GitSubmitEditor::forceUpdateFileModel); QTimer::singleShot(10, this, [this] { forceUpdateFileModel(); });
else else
updateFileModel(); updateFileModel();
} }
......
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