From 5c41155a46f93ead2b1d7feda8e6bc6f5b4f9549 Mon Sep 17 00:00:00 2001 From: Brian Potchik Date: Fri, 10 Oct 2025 09:34:08 -0400 Subject: Add password prompting for encrypted containers in Container Browser. --- ui/passwordedit.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'ui/passwordedit.h') diff --git a/ui/passwordedit.h b/ui/passwordedit.h index 7c34c49e..f919803b 100644 --- a/ui/passwordedit.h +++ b/ui/passwordedit.h @@ -5,9 +5,11 @@ class BINARYNINJAUIAPI PasswordEdit: public QLineEdit { + Q_OBJECT + public: PasswordEdit(QWidget* parent = nullptr); - virtual void focusInEvent(QFocusEvent* e) override; - virtual void focusOutEvent(QFocusEvent* e) override; +private slots: + void showContextMenu(const QPoint& pos); }; -- cgit v1.3.1