Commit 1ae254ab authored by Ahmad Samir's avatar Ahmad Samir
Browse files

Fix includes when building the kglobalaccel dbus interface

So that KGloalAccel::MatchType can be found:
In file included from /builds/plasma/plasma-desktop/kcms/keys/kcm_keys.cpp:23:
/builds/plasma/plasma-desktop/_build/kcms/keys/kglobalaccel_interface.h:129:105: error: ‘KGlobalAccel’ has not been declared
  129 |     inline QDBusPendingReply<QList<KGlobalShortcutInfo> > globalShortcutsByKey(const QKeySequence &key, KGlobalAccel::MatchType matchType)

And kglobalaccel.h already includes kglobalshortcutinfo.h
parent f251558c
Pipeline #188931 passed with stage
in 3 minutes and 6 seconds
......@@ -13,7 +13,7 @@ set(kcm_keys_SRCS
set(kglobalaccel_xml ${KGLOBALACCEL_DBUS_INTERFACES_DIR}/kf5_org.kde.KGlobalAccel.xml)
set_source_files_properties(${kglobalaccel_xml} PROPERTIES
INCLUDE "kglobalshortcutinfo.h"
INCLUDE "kglobalaccel.h"
NO_NAMESPACE TRUE
CLASSNAME "KGlobalAccelInterface"
)
......@@ -21,7 +21,7 @@ qt_add_dbus_interface(kcm_keys_SRCS ${kglobalaccel_xml} kglobalaccel_interface)
set(kglobalaccel_component_xml ${KGLOBALACCEL_DBUS_INTERFACES_DIR}/kf5_org.kde.kglobalaccel.Component.xml)
set_source_files_properties(${kglobalaccel_component_xml} PROPERTIES
INCLUDE "kglobalshortcutinfo.h"
INCLUDE "kglobalaccel.h"
NO_NAMESPACE TRUE
CLASSNAME "KGlobalAccelComponentInterface"
)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment