Mercurial > hg > octave-thorsten
diff gui/src/TerminalView.cpp @ 13682:c0e0625ffd13
Adjustements for compiling on Windows.
author | Jacob@Jacob-PC |
---|---|
date | Mon, 26 Sep 2011 07:55:20 +0200 (2011-09-26) |
parents | c0e66d6e3dc8 |
children |
line wrap: on
line diff
--- a/gui/src/TerminalView.cpp +++ b/gui/src/TerminalView.cpp @@ -53,13 +53,13 @@ void TerminalView::bell () { - } void TerminalView::keyPressEvent (QKeyEvent * keyEvent) { - m_terminalEmulation->processKeyEvent (keyEvent); + if(m_terminalEmulation) + m_terminalEmulation->processKeyEvent (keyEvent); } void