summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Grulich <[email protected]>2017-02-20 10:26:11 +0100
committerJan Grulich <[email protected]>2017-02-20 10:26:11 +0100
commitf81edd10ec66cfb04214305a21ea3490bf1293db (patch)
treec0a8c7572f353c6085b5fe7c9a486e96c50db810
parent490237b30eac0cb1231e3aa35e75475ec53e1fac (diff)
Update progress once transaction is done
-rw-r--r--libdiscover/backends/FlatpakBackend/FlatpakTransaction.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/libdiscover/backends/FlatpakBackend/FlatpakTransaction.cpp b/libdiscover/backends/FlatpakBackend/FlatpakTransaction.cpp
index ea43919..7ec25db 100644
--- a/libdiscover/backends/FlatpakBackend/FlatpakTransaction.cpp
+++ b/libdiscover/backends/FlatpakBackend/FlatpakTransaction.cpp
@@ -100,6 +100,8 @@ void FlatpakTransaction::onAppJobFinished(bool success)
m_appJobFinished = true;
m_appJobProgress = 100;
+ updateProgress();
+
if (m_runtimeJobFinished) {
finishTransaction(success);
}
@@ -117,6 +119,8 @@ void FlatpakTransaction::onRuntimeJobFinished(bool success)
m_runtimeJobFinished = true;
m_runtimeJobProgress = 100;
+ updateProgress();
+
if (m_appJobFinished) {
finishTransaction(success);
}