mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
Added CTRL+l shortcut to clear download list
This commit is contained in:
parent
240cecb230
commit
af541a787e
|
@ -33,6 +33,7 @@
|
|||
#include <QMessageBox>
|
||||
#include <QCloseEvent>
|
||||
#include <QDir>
|
||||
#include <QShortcut>
|
||||
|
||||
DownloadManager::DownloadManager(QWidget* parent)
|
||||
: QWidget(parent)
|
||||
|
@ -54,6 +55,9 @@ DownloadManager::DownloadManager(QWidget* parent)
|
|||
|
||||
connect(ui->clearButton, SIGNAL(clicked()), this, SLOT(clearList()));
|
||||
|
||||
QShortcut* clearShortcut = new QShortcut(QKeySequence("CTRL+L"), this);
|
||||
connect(clearShortcut, SIGNAL(activated()), this, SLOT(clearList()));
|
||||
|
||||
loadSettings();
|
||||
|
||||
QzTools::setWmClass("Download Manager", this);
|
||||
|
|
Loading…
Reference in New Issue
Block a user