Mercurial > octave
comparison libgui/qterminal/libqterminal/win32/QWinTerminalImpl.cpp @ 19943:88233ac3f3ea
fix issue with ctrl-c for copying when editor has focus and is docked
* QTerminal.cc (set_global_shortcuts): new slot for en-/disabling interrupt
shortcut in terminal depending on terminal focus_out
* QTerminal.h: new slot set_global_shortcuts
* TerminalView.cpp (TerminalView), for Linux:
* QWinTerminalImpl.cpp (QWinTerminalImpl), for windows:
connect set_global_shortcuts_signal also to the new slot in QTerminal
author | Torsten <ttl@justmail.de> |
---|---|
date | Sat, 14 Mar 2015 15:20:51 +0100 |
parents | 29692bc97899 |
children | 4ba6c61c8794 |
comparison
equal
deleted
inserted
replaced
19942:526b1a2d04ca | 19943:88233ac3f3ea |
---|---|
1424 { | 1424 { |
1425 installEventFilter (this); | 1425 installEventFilter (this); |
1426 | 1426 |
1427 connect (this, SIGNAL (set_global_shortcuts_signal (bool)), | 1427 connect (this, SIGNAL (set_global_shortcuts_signal (bool)), |
1428 parent, SLOT (set_global_shortcuts (bool))); | 1428 parent, SLOT (set_global_shortcuts (bool))); |
1429 connect (this, SIGNAL (set_global_shortcuts_signal (bool)), | |
1430 this, SLOT (set_global_shortcuts (bool))); | |
1429 | 1431 |
1430 connect (this, SIGNAL (set_screen_size_signal (int, int)), | 1432 connect (this, SIGNAL (set_screen_size_signal (int, int)), |
1431 parent, SLOT (set_screen_size (int, int))); | 1433 parent, SLOT (set_screen_size (int, int))); |
1432 | 1434 |
1433 setAcceptDrops (true); | 1435 setAcceptDrops (true); |