mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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 <dirk@hohndel.org>
This commit is contained in:
parent
8b710f4d6c
commit
eea1ff6a83
4 changed files with 25 additions and 12 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue