From b849edfcca372593ef21bcbaf36be73a021007d4 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Wed, 1 Sep 2021 22:37:08 +0200 Subject: [PATCH] GlobalShortcutsBackend: Fix type return --- src/globalshortcuts/globalshortcutsbackend.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/globalshortcuts/globalshortcutsbackend.h b/src/globalshortcuts/globalshortcutsbackend.h index a07795ea..49071a3c 100644 --- a/src/globalshortcuts/globalshortcutsbackend.h +++ b/src/globalshortcuts/globalshortcutsbackend.h @@ -44,7 +44,7 @@ class GlobalShortcutsBackend : public QObject { explicit GlobalShortcutsBackend(GlobalShortcutsManager *manager, const Type type, QObject *parent = nullptr); - bool type() const { return type_; } + Type type() const { return type_; } QString name() const; virtual bool IsAvailable() const = 0;