From 8bd8643ef1f91d2e2aa027e7e3b2deccb671b28f Mon Sep 17 00:00:00 2001 From: ubbo Date: Sun, 23 Jan 2011 23:16:05 +0000 Subject: N for new tab default, T still works git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@445 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- gpgwin.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gpgwin.cpp b/gpgwin.cpp index cfbdbd9..ac36b85 100644 --- a/gpgwin.cpp +++ b/gpgwin.cpp @@ -126,7 +126,11 @@ void GpgWin::createActions() /** Main Menu */ newTabAct = new QAction(tr("&New"), this); - newTabAct->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_T)); + QList newTabActShortcutList; + newTabActShortcutList.append(QKeySequence (Qt::CTRL + Qt::Key_N)); + newTabActShortcutList.append(QKeySequence (Qt::CTRL + Qt::Key_T)); + newTabAct->setShortcuts(newTabActShortcutList); + newTabAct->setToolTip(tr("Open a new file")); connect(newTabAct, SIGNAL(triggered()), edit, SLOT(newTab())); -- cgit v1.2.3