From 3a6e43400ff1c36269d6b7cb822b3ffe6ff58fb7 Mon Sep 17 00:00:00 2001 From: Arno Date: Mon, 5 Sep 2016 04:08:07 +0200 Subject: Fix keyboard naviagtion for TorrentWidget too For an explanation see commit eaaa0c165b83aba1227304eb1074098ac0028ae8 --- torrentwidget.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'torrentwidget.h') diff --git a/torrentwidget.h b/torrentwidget.h index 051a281..4a354ce 100644 --- a/torrentwidget.h +++ b/torrentwidget.h @@ -13,6 +13,7 @@ class QStandardItemModel; class QLabel; class QToolBar; class QMenuBar; +class QKeyEvent; class FileSorter; class TorrentDisplay; @@ -41,6 +42,7 @@ class TorrentWidget : public QWidget { void fileSelectionChanged(const QItemSelection &selected, const QItemSelection &deselected); protected: + virtual void keyPressEvent(QKeyEvent *e); virtual void contextMenuEvent(QContextMenuEvent *e); private: -- cgit v1.2.3-70-g09d2