Port away from deprecated KService::property overload
This commit is contained in:
parent
3068f8bee5
commit
a0e3a6e54b
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ VirtualKeyboardsModel::VirtualKeyboardsModel(QObject *parent)
|
||||||
: QAbstractListModel(parent)
|
: QAbstractListModel(parent)
|
||||||
{
|
{
|
||||||
m_services = KApplicationTrader::query([](const KService::Ptr &service) {
|
m_services = KApplicationTrader::query([](const KService::Ptr &service) {
|
||||||
return service->property("X-KDE-Wayland-VirtualKeyboard", QVariant::Bool).toBool();
|
return service->property("X-KDE-Wayland-VirtualKeyboard", QMetaType::Bool).toBool();
|
||||||
});
|
});
|
||||||
|
|
||||||
m_services.prepend({});
|
m_services.prepend({});
|
||||||
|
|
Loading…
Reference in a new issue