mirror of
https://invent.kde.org/plasma/plasma-desktop.git
synced 2026-11-03 22:59:45 -09:00
Replace use of deprecated QVariant::canConvert
Deprecated in Qt 6.0.
This commit is contained in:
parent
4a20e56905
commit
4dee6e6659
1 changed files with 1 additions and 1 deletions
|
|
@ -199,7 +199,7 @@ bool XkbOptionsModel::setData(const QModelIndex &index, const QVariant &value, i
|
|||
return false;
|
||||
}
|
||||
|
||||
if (role != Roles::CheckedRole || !value.canConvert(QMetaType::Bool)) {
|
||||
if (role != Roles::CheckedRole || !value.canConvert<bool>()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue