Port to new KService::property API
This commit is contained in:
parent
9e10394db1
commit
d57c66872c
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ VirtualKeyboardsModel::VirtualKeyboardsModel(QObject *parent)
|
|||
: QAbstractListModel(parent)
|
||||
{
|
||||
m_services = KApplicationTrader::query([](const KService::Ptr &service) {
|
||||
return service->property("X-KDE-Wayland-VirtualKeyboard", QMetaType::Bool).toBool();
|
||||
return service->property<bool>("X-KDE-Wayland-VirtualKeyboard");
|
||||
});
|
||||
|
||||
m_services.prepend({});
|
||||
|
|
Loading…
Reference in a new issue