diff options
| author | 2011-08-21 14:27:01 +0000 | |
|---|---|---|
| committer | 2011-08-21 14:27:01 +0000 | |
| commit | 8a7b7f44d3b12265947f2ffb4f68170bc861325a (patch) | |
| tree | b2570ed0810a1d2f3b683f9334d742aa1588e529 /src/modules/reguser/RegisteredUsersDialog.cpp | |
| parent | adds text to the wrench on the editor so users can find it... hopefully (diff) | |
| download | KVIrc-8a7b7f44d3b12265947f2ffb4f68170bc861325a.tar.gz KVIrc-8a7b7f44d3b12265947f2ffb4f68170bc861325a.tar.bz2 KVIrc-8a7b7f44d3b12265947f2ffb4f68170bc861325a.zip | |
fix for #1202
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5936 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/reguser/RegisteredUsersDialog.cpp')
| -rw-r--r-- | src/modules/reguser/RegisteredUsersDialog.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/reguser/RegisteredUsersDialog.cpp b/src/modules/reguser/RegisteredUsersDialog.cpp index d676a1235..3b2f1c068 100644 --- a/src/modules/reguser/RegisteredUsersDialog.cpp +++ b/src/modules/reguser/RegisteredUsersDialog.cpp @@ -64,6 +64,7 @@ #include <QAbstractItemView> #include <QTextDocument> #include <QAbstractTextDocumentLayout> +#include <QShortcut> #define LVI_ICON_SIZE 32 #define LVI_BORDER 4 @@ -313,6 +314,8 @@ RegisteredUsersDialog::RegisteredUsersDialog(QWidget * par) connect(m_pListView,SIGNAL(itemSelectionChanged()),this,SLOT(selectionChanged())); connect(m_pListView,SIGNAL(rightButtonPressed(QTreeWidgetItem *, QPoint)),this,SLOT(rightButtonPressed(QTreeWidgetItem *, QPoint))); + new QShortcut(Qt::Key_Escape, this, SLOT(cancelClicked())); + fillList(); if(!parent()) |
