Mercurial > octave-nkf
diff libgui/qterminal/libqterminal/QTerminal.h @ 16658:591cb51c18a3
always handle CTRL-C as interrupt on windows systems
* QTerminal.h (QTerminal::QTerminal): Don't set shortcuts for copy and
paste.
* octave-qt-link.cc (octave_qt_link::do_pre_input_event,
octave_qt_link::do_post_input_event): Don't enable/disable processed
input on Windows systems.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 14 May 2013 02:49:24 -0400 |
parents | de1f8e4b6b9b |
children | 0495339998f8 |
line wrap: on
line diff
--- a/libgui/qterminal/libqterminal/QTerminal.h Tue May 14 02:49:07 2013 -0400 +++ b/libgui/qterminal/libqterminal/QTerminal.h Tue May 14 02:49:24 2013 -0400 @@ -110,12 +110,6 @@ = _contextMenu->addAction (tr ("Paste"), this, SLOT (pasteClipboard ())); - copyAction->setShortcut (QKeySequence::Copy); - pasteAction->setShortcut (QKeySequence::Paste); - - addAction (copyAction); - addAction (pasteAction); - connect (this, SIGNAL (customContextMenuRequested (QPoint)), this, SLOT (handleCustomContextMenuRequested (QPoint)));