summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2021-05-17 21:59:49 -0400
committerGlenn Smith <glenn@vector35.com>2021-05-18 17:17:31 -0400
commit6c38e866c43e9bf12c0910ab76d8d8e3bac15b06 (patch)
treea453be482372e3254eadd652a4acdee34bb81821 /ui
parentd6dab74e30cc5cd9fb52aed7cbef95aaa36dc59f (diff)
Remove activeOnHover from MenuHelper
Diffstat (limited to 'ui')
-rw-r--r--ui/menus.h3
-rw-r--r--ui/uitypes.h4
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