summaryrefslogtreecommitdiff
path: root/ui/passwordedit.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/passwordedit.h')
-rw-r--r--ui/passwordedit.h6
1 files changed, 4 insertions, 2 deletions
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);
};