diff options
| author | Silarn <jrim@rimpo.org> | 2019-12-31 02:49:15 -0600 |
|---|---|---|
| committer | Silarn <jrim@rimpo.org> | 2019-12-31 02:49:15 -0600 |
| commit | d259a0e1fa2d8812891c59fc61cd48402ed33797 (patch) | |
| tree | b8e1f1bc0e85ee0ebb4b749b887f9a4eb1a5b836 /src/problemsdialog.cpp | |
| parent | 57b049b6d7825d4de38bcbaeb6bb5efc0fba8109 (diff) | |
Migrate obsoleted qVariantFromValue
Diffstat (limited to 'src/problemsdialog.cpp')
| -rw-r--r-- | src/problemsdialog.cpp | 2 |
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);
|
