1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36:34 +01:00

Merge pull request #1563 from oshi-shinobu/master

Added CTRL+L shortcut to clear download list
This commit is contained in:
David Rosca 2014-12-30 13:25:11 +01:00
commit d864a14fa6

View File

@ -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);