From 9fb0a4cad72583297e646507ea3a745b914563e2 Mon Sep 17 00:00:00 2001 From: Liu Zhangjian Date: Tue, 13 Aug 2024 10:44:05 +0800 Subject: [PATCH] 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 --- src/plugins/coreplugin/actionmanager/actionmanager_p.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/plugins/coreplugin/actionmanager/actionmanager_p.h b/src/plugins/coreplugin/actionmanager/actionmanager_p.h index c10f109a6ea..c0543aff4ab 100644 --- a/src/plugins/coreplugin/actionmanager/actionmanager_p.h +++ b/src/plugins/coreplugin/actionmanager/actionmanager_p.h @@ -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);