From eea1ff6a83a318d7749110baa81c249a6faea8ef Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 3 Apr 2016 18:13:22 -0500 Subject: Change the git progress update callback signature This way we can include additional text. This will be used in later patches. Signed-off-by: Dirk Hohndel --- desktop-widgets/mainwindow.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'desktop-widgets') diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp index df0190e10..ca78b82af 100644 --- a/desktop-widgets/mainwindow.cpp +++ b/desktop-widgets/mainwindow.cpp @@ -66,8 +66,10 @@ QProgressDialog *progressDialog = NULL; bool progressDialogCanceled = false; -extern "C" int updateProgress(int percent) +extern "C" int updateProgress(int percent, const char *text) { + if (verbose) + qDebug() << "git storage:" << percent << "% with note" << text; if (progressDialog) progressDialog->setValue(percent); return progressDialogCanceled; -- cgit v1.2.3-70-g09d2