summaryrefslogtreecommitdiff
path: root/src/problemsdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/problemsdialog.cpp')
-rw-r--r--src/problemsdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/problemsdialog.cpp b/src/problemsdialog.cpp
index ea23beec..4b944ed2 100644
--- a/src/problemsdialog.cpp
+++ b/src/problemsdialog.cpp
@@ -61,7 +61,7 @@ void ProblemsDialog::runDiagnosis()
if (diagnose->hasGuidedFix(key)) {
newItem->setText(1, tr("Fix"));
QPushButton *fixButton = new QPushButton(tr("Fix"));
- fixButton->setProperty("fix", qVariantFromValue(reinterpret_cast<void*>(diagnose)));
+ fixButton->setProperty("fix", QVariant::fromValue(reinterpret_cast<void*>(diagnose)));
fixButton->setProperty("key", key);
connect(fixButton, SIGNAL(clicked()), this, SLOT(startFix()));
ui->problemsWidget->setItemWidget(newItem, 1, fixButton);