summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui/stringsview.h1
-rw-r--r--ui/symbollist.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/ui/stringsview.h b/ui/stringsview.h
index e9d435d4..b70c6d68 100644
--- a/ui/stringsview.h
+++ b/ui/stringsview.h
@@ -113,6 +113,7 @@ public:
virtual QFont getFont() override { return m_itemDelegate->getFont(); }
protected:
virtual void keyPressEvent(QKeyEvent* event) override;
+ virtual bool event(QEvent* event) override;
private Q_SLOTS:
void goToString(const QModelIndex& idx);
diff --git a/ui/symbollist.h b/ui/symbollist.h
index ae2ee7ff..471a6e00 100644
--- a/ui/symbollist.h
+++ b/ui/symbollist.h
@@ -338,6 +338,7 @@ public:
protected:
virtual void focusOutEvent(QFocusEvent* event) override;
virtual void keyPressEvent(QKeyEvent* event) override;
+ virtual bool event(QEvent* event) override;
private Q_SLOTS:
void goToSymbol(const QModelIndex& i);