mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
mobile/UI: normally don't show git progress info to user
This isn't really useful for normal users and with the new 'multiple notifications stay visible' feature in Kirigami it creates a really weird and distracting user experience. We should show the user a summart of what we did instead. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
bd951a51cc
commit
fa8ac5ceeb
1 changed files with 6 additions and 1 deletions
|
@ -128,7 +128,12 @@ static void showProgress(QString msg)
|
|||
// show the git progress in the passive notification area
|
||||
extern "C" int gitProgressCB(const char *text)
|
||||
{
|
||||
showProgress(QString(text));
|
||||
// regular users, during regular operation, likely really don't
|
||||
// care at all about the git progress
|
||||
if (verbose) {
|
||||
showProgress(QString(text));
|
||||
appendTextToLogStandalone(text);
|
||||
}
|
||||
// return 0 so that we don't end the download
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue