summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/packagemanagercore_p.h
diff options
context:
space:
mode:
authorKatja Marttila <katja.marttila@qt.io>2017-05-05 10:35:00 +0300
committerKatja Marttila <katja.marttila@qt.io>2017-05-10 07:09:28 +0000
commit41b18d6aa0277ae90bf6c76ee7bbc50696e7be26 (patch)
treec853aef989c1b551584ba2e54f16c562bd23c8c0 /src/libs/installer/packagemanagercore_p.h
parent3fdc5bd4b1a1f75496bd453b12dd01c662782958 (diff)
Add progressbar to indicate unzip job is proceeding
When a big compressed package is unzipped, it seemed that the installer hanged as there was no indication that the job is still ongoing. Added undetermined state to progress bar as unzip job does not inform the progress state. Task-number: QTIFW-967 Change-Id: I21ca394e1856038c51413f9e5011307ae7a9850a Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
Diffstat (limited to 'src/libs/installer/packagemanagercore_p.h')
-rw-r--r--src/libs/installer/packagemanagercore_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libs/installer/packagemanagercore_p.h b/src/libs/installer/packagemanagercore_p.h
index 4dd0b9735..21ab3fc40 100644
--- a/src/libs/installer/packagemanagercore_p.h
+++ b/src/libs/installer/packagemanagercore_p.h
@@ -209,6 +209,10 @@ private slots:
emit m_core->metaJobProgress(progress);
}
+ void totalProgress(quint64 total) {
+ emit m_core->metaJobTotalProgress(total);
+ }
+
void handleMethodInvocationRequest(const QString &invokableMethodName);
private: