From 6fe7ca5e14330b281ea47bd2e80304874c89c27c Mon Sep 17 00:00:00 2001 From: nils Date: Mon, 24 Jan 2011 22:38:27 +0000 Subject: added platform independent shortcut for quit git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@449 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- gpgwin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpgwin.cpp b/gpgwin.cpp index 6d42e24..172a913 100644 --- a/gpgwin.cpp +++ b/gpgwin.cpp @@ -164,7 +164,7 @@ void GpgWin::createActions() connect(closeTabAct, SIGNAL(triggered()), edit, SLOT(closeTab())); quitAct = new QAction(tr("&Quit"), this); -// quitAct->setShortcut(QKeySequence::Quit); + quitAct->setShortcut(QKeySequence::Quit); quitAct->setIcon(QIcon(iconPath + "exit.png")); quitAct->setToolTip(tr("Quit Program")); connect(quitAct, SIGNAL(triggered()), this, SLOT(close())); -- cgit v1.2.3