Add RESET to globalShortcut property

BUG: 431006

FIXED-IN: 5.79.0
This commit is contained in:
Konrad Materka 2021-01-02 16:20:17 +01:00
parent 84527c752c
commit 1330b0279c

View File

@ -215,7 +215,7 @@ class AppletInterface : public PlasmaQuick::AppletQuickItem
* This is typically only used by the default configuration module * This is typically only used by the default configuration module
* *
*/ */
Q_PROPERTY(QKeySequence globalShortcut READ globalShortcut WRITE setGlobalShortcut NOTIFY globalShortcutChanged) Q_PROPERTY(QKeySequence globalShortcut READ globalShortcut WRITE setGlobalShortcut RESET setGlobalShortcut NOTIFY globalShortcutChanged)
/** /**
* An interface to the native C++ plasmoid, if implemented * An interface to the native C++ plasmoid, if implemented
@ -420,7 +420,7 @@ public:
void setHideOnWindowDeactivate(bool hide); void setHideOnWindowDeactivate(bool hide);
QKeySequence globalShortcut() const; QKeySequence globalShortcut() const;
void setGlobalShortcut(const QKeySequence &keySequence); void setGlobalShortcut(const QKeySequence &keySequence = QKeySequence());
QObject *nativeInterface(); QObject *nativeInterface();