summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorRohan Garg <rohangarg@kubuntu.org>2010-11-22 22:14:21 +0530
committerRohan Garg <rohangarg@kubuntu.org>2010-11-22 22:14:21 +0530
commit4a85d789969f9a713b36d3983258a286d8d3b909 (patch)
tree8fe3c0319ef22079f36e52b4e2d3ed7b8bab4e16 /src/mainwindow.cpp
parentfix entities for keys in documentation (diff)
downloadrekonq-4a85d789969f9a713b36d3983258a286d8d3b909.tar.xz
Ctrl+Shift+Delete Key Combo to clear private data
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index f662d7aa..c9863f07 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -413,8 +413,9 @@ void MainWindow::setupActions()
a = Application::instance()->privateBrowsingAction();
actionCollection()->addAction(QL1S("private_browsing"), a);
-
+
a = new KAction(KIcon("edit-clear"), i18n("Clear Private Data..."), this);
+ a->setShortcut(Qt::ControlModifier + Qt::ShiftModifier + Qt::Key_Delete);
actionCollection()->addAction(QL1S("clear_private_data"), a);
connect(a, SIGNAL(triggered(bool)), this, SLOT(clearPrivateData()));