diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-15 20:20:12 +0100 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-15 20:23:23 +0100 |
| commit | f28b501b30d13c581eaea72f1aeebc0dc4039cf3 (patch) | |
| tree | 45e477c27ef8ed5daeb9f061dc7bd493365f2d66 /src/downloadlistview.h | |
| parent | 417dbff2de57ff3c62685d0ab4f47454d543ed8f (diff) | |
Handle enter and delete on download list.
Diffstat (limited to 'src/downloadlistview.h')
| -rw-r--r-- | src/downloadlistview.h | 3 |
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);
|
