From 6c38e866c43e9bf12c0910ab76d8d8e3bac15b06 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Mon, 17 May 2021 21:59:49 -0400 Subject: Remove activeOnHover from MenuHelper --- ui/menus.h | 3 +-- ui/uitypes.h | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/ui/menus.h b/ui/menus.h index 50b92785..59791884 100644 --- a/ui/menus.h +++ b/ui/menus.h @@ -52,13 +52,12 @@ protected: Menu m_menu; ContextMenuManager* m_contextMenuManager; QTimer* m_timer; - bool m_activeOnHover = true; bool m_active; bool m_pressed; public: MenuHelper() { } - MenuHelper(QWidget* parent, bool activeOnHover = true); + explicit MenuHelper(QWidget* parent); void setBackgroundColorRole(QPalette::ColorRole role); void setActiveBackgroundColorRole(QPalette::ColorRole role); diff --git a/ui/uitypes.h b/ui/uitypes.h index aa01e6fc..6b4b92e1 100644 --- a/ui/uitypes.h +++ b/ui/uitypes.h @@ -6,14 +6,14 @@ // there are changes to the API that affect linking, including new functions, // new types, modifications to existing functions or types, or new versions // of the Qt libraries. -#define BN_CURRENT_UI_ABI_VERSION 2 +#define BN_CURRENT_UI_ABI_VERSION 3 // Minimum ABI version that is supported for loading of plugins. Plugins that // are linked to an ABI version less than this will not be able to load and // will require rebuilding. The minimum version is increased when there are // incompatible changes that break binary compatibility, such as changes to // existing types or functions, or a new version of Qt. -#define BN_MINIMUM_UI_ABI_VERSION 2 +#define BN_MINIMUM_UI_ABI_VERSION 3 #ifdef __GNUC__ # ifdef BINARYNINJAUI_LIBRARY -- cgit v1.3.1