summaryrefslogtreecommitdiff
path: root/src/downloadlistview.h
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2021-01-15 20:20:12 +0100
committerMikaël Capelle <capelle.mikael@gmail.com>2021-01-15 20:23:23 +0100
commitf28b501b30d13c581eaea72f1aeebc0dc4039cf3 (patch)
tree45e477c27ef8ed5daeb9f061dc7bd493365f2d66 /src/downloadlistview.h
parent417dbff2de57ff3c62685d0ab4f47454d543ed8f (diff)
Handle enter and delete on download list.
Diffstat (limited to 'src/downloadlistview.h')
-rw-r--r--src/downloadlistview.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/downloadlistview.h b/src/downloadlistview.h
index 0a3e575b..050c869f 100644
--- a/src/downloadlistview.h
+++ b/src/downloadlistview.h
@@ -90,6 +90,9 @@ signals:
void openMetaFile(int index);
void openInDownloadsFolder(int index);
+protected:
+ void keyPressEvent(QKeyEvent* event) override;
+
private slots:
void onDoubleClick(const QModelIndex& index);
void onCustomContextMenu(const QPoint& point);