diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2013-02-26 17:59:56 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2013-02-26 17:59:56 +0100 |
commit | 002900ca2047ebdba2c256223970ed733ea58e71 (patch) | |
tree | d1f36e2f1e97355eb6e6098a1543b31d7ca46846 /src/webwindow/webwindow.cpp | |
parent | Push down kde deps from 4.9.0 to 4.8.4 (diff) | |
download | rekonq-002900ca2047ebdba2c256223970ed733ea58e71.tar.xz |
Add a CTRL + SHIFT + N default shortcut for private browsing
This has been requested on my blog. I found Chrome using it and no
other one browser using for anything, so...
Diffstat (limited to 'src/webwindow/webwindow.cpp')
-rw-r--r-- | src/webwindow/webwindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/webwindow/webwindow.cpp b/src/webwindow/webwindow.cpp index 75636dbd..2087a936 100644 --- a/src/webwindow/webwindow.cpp +++ b/src/webwindow/webwindow.cpp @@ -284,6 +284,7 @@ void WebWindow::setupActions() connect(a, SIGNAL(triggered(bool)), this, SLOT(viewPageSource())); a = new KAction(KIcon("view-media-artist"), i18n("New Private Window"), this); + a->setShortcut(KShortcut(Qt::CTRL + Qt::SHIFT + Qt::Key_N)); connect(a, SIGNAL(triggered(bool)), rApp, SLOT(newPrivateBrowsingWindow())); actionCollection()->addAction(QL1S("private_browsing"), a); |