diff options
author | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-01-23 23:16:05 +0000 |
---|---|---|
committer | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-01-23 23:16:05 +0000 |
commit | 8bd8643ef1f91d2e2aa027e7e3b2deccb671b28f (patch) | |
tree | 8183bb1ee423ef0cc6e8e5ee01b87a6b43499907 | |
parent | format text, filenames in save-as dialog, set version to 0.3 (diff) | |
download | gpg4usb-8bd8643ef1f91d2e2aa027e7e3b2deccb671b28f.tar.gz gpg4usb-8bd8643ef1f91d2e2aa027e7e3b2deccb671b28f.zip |
<CTRL> N for new tab default, <CTRL> T still works
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@445 34ebc366-c3a9-4b3c-9f84-69acf7962910
-rw-r--r-- | gpgwin.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -126,7 +126,11 @@ void GpgWin::createActions() /** Main Menu */ newTabAct = new QAction(tr("&New"), this); - newTabAct->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_T)); + QList<QKeySequence> 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())); |