diff options
author | Jarek Kobus <jaroslaw.kobus@theqtcompany.com> | 2015-05-07 12:54:37 +0200 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@theqtcompany.com> | 2015-06-05 08:36:27 +0000 |
commit | 947e85b47c6ce9d60b08d1f0a8477e09cdb63635 (patch) | |
tree | a4f03cb37fb128573c2a12a09207a2e8822f79d2 /src/libs/installer/component.cpp | |
parent | 8a1d8a4e5292644848bad2a4a8c33e7c9b9529de (diff) |
Reuse existing structures inside Update class.
Change-Id: I481b0129c5263da4969053d658e30fb671acf74e
Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
Diffstat (limited to 'src/libs/installer/component.cpp')
-rw-r--r-- | src/libs/installer/component.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/installer/component.cpp b/src/libs/installer/component.cpp index 217e41eea..1ba19ed2b 100644 --- a/src/libs/installer/component.cpp +++ b/src/libs/installer/component.cpp @@ -310,7 +310,7 @@ void Component::loadDataFromPackage(const Package &package) setCheckState(Qt::Checked); } - setLocalTempPath(QInstaller::pathFromUrl(package.sourceInfoUrl())); + setLocalTempPath(QInstaller::pathFromUrl(package.packageSource().url)); const QStringList uis = package.data(QLatin1String("UserInterfaces")).toString() .split(QInstaller::commaRegExp(), QString::SkipEmptyParts); if (!uis.isEmpty()) |