diff --git a/src/kcms/virtualkeyboard/kcmvirtualkeyboard.cpp b/src/kcms/virtualkeyboard/kcmvirtualkeyboard.cpp index 42289bd8df..aec983c997 100644 --- a/src/kcms/virtualkeyboard/kcmvirtualkeyboard.cpp +++ b/src/kcms/virtualkeyboard/kcmvirtualkeyboard.cpp @@ -43,7 +43,7 @@ VirtualKeyboardsModel::VirtualKeyboardsModel(QObject *parent) : QAbstractListModel(parent) { 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({});