ActionManager: Delete an unused and unimplemented interface

The interface `bool hasContext(int context)` is neither implemented nor used, so delete it

Change-Id: I07923e99ee98ab586d42d5417077db66833bdd41
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Liu Zhangjian
2024-08-13 10:44:05 +08:00
parent d98e7263d0
commit 9fb0a4cad7

View File

@@ -32,12 +32,10 @@ public:
ActionManagerPrivate();
~ActionManagerPrivate() override;
void setContext(const Context &context);
bool hasContext(int context) const;
void saveSettings();
static void saveSettings(Command *cmd);
void setContext(const Context &context);
bool hasContext(const Context &context) const;
Command *overridableAction(Utils::Id id);