summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Gräßlin <[email protected]>2017-01-28 14:32:52 +0100
committerMartin Gräßlin <[email protected]>2017-02-02 20:58:03 +0100
commit1b8bb904763b649ac1650ad6c0133b04453b0129 (patch)
tree89903bea163d6c207c005d2f85979a243508c7ff
parent5d5518455d10406292495c6e6874eeeb7c4534f1 (diff)
Adjust KeyboardLayout to non-kded DBus service
Summary: The keyboard layout kded module does also register a dedicated DBus service and a dedicated object. By using the newer service name we can also provide the same on Wayland where there is no kded module for keyboard. Test Plan: Not yet tested as I'm on Wayland Reviewers: #plasma_on_wayland Subscribers: plasma-devel Tags: #plasma_on_wayland Differential Revision: https://phabricator.kde.org/D4322
-rw-r--r--components/keyboardlayout/keyboardlayout.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/keyboardlayout/keyboardlayout.cpp b/components/keyboardlayout/keyboardlayout.cpp
index 195de07..2683275 100644
--- a/components/keyboardlayout/keyboardlayout.cpp
+++ b/components/keyboardlayout/keyboardlayout.cpp
@@ -29,8 +29,8 @@ KeyboardLayout::KeyboardLayout(QObject* parent)
: QObject(parent)
, mIface(0)
{
- mIface = new QDBusInterface(QStringLiteral("org.kde.kded5"),
- QStringLiteral("/modules/keyboard"),
+ mIface = new QDBusInterface(QStringLiteral("org.kde.keyboard"),
+ QStringLiteral("/Layouts"),
QStringLiteral("org.kde.KeyboardLayouts"),
QDBusConnection::sessionBus(),
this);