summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/extractarchiveoperation.cpp
diff options
context:
space:
mode:
authorKarsten Heimrich <karsten.heimrich@theqtcompany.com>2015-06-23 16:56:43 +0200
committerKarsten Heimrich <karsten.heimrich@theqtcompany.com>2015-06-24 10:10:01 +0000
commit1d0d566f15487d62db1632b3f663856e25c79f6c (patch)
tree0e33244e4d0257136946833f59a15ce903c89263 /src/libs/installer/extractarchiveoperation.cpp
parent1e589e37a991b29076e9a661f92dfa178421c208 (diff)
Add getter and setter for package manager.
Change-Id: Iff8ac5fc97f73939e0cbfea21370bb63e94b7782 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Diffstat (limited to 'src/libs/installer/extractarchiveoperation.cpp')
-rw-r--r--src/libs/installer/extractarchiveoperation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/installer/extractarchiveoperation.cpp b/src/libs/installer/extractarchiveoperation.cpp
index 3a1be7ad3..1b40c488f 100644
--- a/src/libs/installer/extractarchiveoperation.cpp
+++ b/src/libs/installer/extractarchiveoperation.cpp
@@ -67,7 +67,7 @@ bool ExtractArchiveOperation::performOperation()
connect(&callback, &Callback::currentFileChanged, this, &ExtractArchiveOperation::fileFinished);
connect(&callback, &Callback::progressChanged, this, &ExtractArchiveOperation::progressChanged);
- if (PackageManagerCore *core = this->value(QLatin1String("installer")).value<PackageManagerCore*>()) {
+ if (PackageManagerCore *core = packageManager()) {
connect(core, &PackageManagerCore::statusChanged, &callback, &Callback::statusChanged);
}