summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/registerfiletypeoperation.cpp
diff options
context:
space:
mode:
authorkh1 <karsten.heimrich@digia.com>2012-11-19 16:44:52 +0100
committerKarsten Heimrich <karsten.heimrich@digia.com>2012-11-20 10:40:47 +0100
commit311045065e4080ed24ef3c3811da9c9ea4711845 (patch)
tree129b63f878e32b71b0089f2b16b4b81165ff3c52 /src/libs/installer/registerfiletypeoperation.cpp
parentc7d5718a6dedaa4bf97fe42f2e190dd9c7d6afb2 (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/registerfiletypeoperation.cpp')
-rw-r--r--src/libs/installer/registerfiletypeoperation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/installer/registerfiletypeoperation.cpp b/src/libs/installer/registerfiletypeoperation.cpp
index e7f76be01..ebed21061 100644
--- a/src/libs/installer/registerfiletypeoperation.cpp
+++ b/src/libs/installer/registerfiletypeoperation.cpp
@@ -99,7 +99,7 @@ bool RegisterFileTypeOperation::performOperation()
}
bool allUsers = false;
- PackageManagerCore *const core = qVariantValue<PackageManagerCore *>(value(QLatin1String("installer")));
+ PackageManagerCore *const core = value(QLatin1String("installer")).value<PackageManagerCore*>();
if (core && core->value(QLatin1String("AllUsers")) == QLatin1String("true"))
allUsers = true;
@@ -163,7 +163,7 @@ bool RegisterFileTypeOperation::undoOperation()
}
bool allUsers = false;
- PackageManagerCore *const core = qVariantValue<PackageManagerCore *>(value(QLatin1String("installer")));
+ PackageManagerCore *const core = value(QLatin1String("installer")).value<PackageManagerCore*>();
if (core && core->value(QLatin1String("AllUsers")) == QLatin1String("true"))
allUsers = true;