From a0e3a6e54bf93fc9291fdb42e2369c0260d0ce0f Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Sun, 18 Dec 2022 01:19:07 +0100 Subject: [PATCH] Port away from deprecated KService::property overload --- src/kcms/virtualkeyboard/kcmvirtualkeyboard.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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({});