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
parents c0e66d6e3dc8
children
line wrap: on
line diff
--- a/gui/src/TerminalView.cpp	Sun Sep 25 21:28:38 2011 +0200
+++ b/gui/src/TerminalView.cpp	Mon Sep 26 07:55:20 2011 +0200
@@ -53,13 +53,13 @@
 void
 TerminalView::bell ()
 {
-
 }
 
 void
 TerminalView::keyPressEvent (QKeyEvent * keyEvent)
 {
-  m_terminalEmulation->processKeyEvent (keyEvent);
+  if(m_terminalEmulation)
+    m_terminalEmulation->processKeyEvent (keyEvent);
 }
 
 void