diff options
author | kh1 <karsten.heimrich@digia.com> | 2012-11-19 16:44:52 +0100 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@digia.com> | 2012-11-20 10:40:47 +0100 |
commit | 311045065e4080ed24ef3c3811da9c9ea4711845 (patch) | |
tree | 129b63f878e32b71b0089f2b16b4b81165ff3c52 /src/libs/installer/licenseoperation.cpp | |
parent | c7d5718a6dedaa4bf97fe42f2e190dd9c7d6afb2 (diff) |
Some changes to start compile with Qt5.
Change-Id: Ie6a3ba7b3c0b24fc292d0d7444ae920dfa866a54
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
Diffstat (limited to 'src/libs/installer/licenseoperation.cpp')
-rw-r--r-- | src/libs/installer/licenseoperation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/installer/licenseoperation.cpp b/src/libs/installer/licenseoperation.cpp index d002afdb4..e90de2bdc 100644 --- a/src/libs/installer/licenseoperation.cpp +++ b/src/libs/installer/licenseoperation.cpp @@ -59,7 +59,7 @@ bool LicenseOperation::performOperation() return false; } - PackageManagerCore *const core = qVariantValue<PackageManagerCore*>(value(QLatin1String("installer"))); + PackageManagerCore *const core = value(QLatin1String("installer")).value<PackageManagerCore*>(); if (!core) { setError( UserDefinedError ); setErrorString(tr("Needed installer object in %1 operation is empty.").arg(name())); |