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

Added CTRL+l shortcut to clear download list

This commit is contained in:
Nobody Really 2014-12-21 20:53:33 +01:00
parent 240cecb230
commit af541a787e

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