-rw-r--r-- | noncore/apps/opie-console/widget_layer.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/widget_layer.cpp b/noncore/apps/opie-console/widget_layer.cpp index 0364e66..6682708 100644 --- a/noncore/apps/opie-console/widget_layer.cpp +++ b/noncore/apps/opie-console/widget_layer.cpp | |||
@@ -39,4 +39,8 @@ WidgetLayer::WidgetLayer( const Profile &config, QWidget *parent, const char *na | |||
39 | //m_image = QArray<Character>( m_lines * m_columns ); | 39 | //m_image = QArray<Character>( m_lines * m_columns ); |
40 | m_image = QArray<Character>( 1 ); | 40 | m_image = QArray<Character>( 1 ); |
41 | |||
42 | // we need to install an event filter, | ||
43 | // to emit keypresses. | ||
44 | qApp->installEventFilter( this ); | ||
41 | 45 | ||
42 | } | 46 | } |
@@ -49,4 +53,5 @@ WidgetLayer::~WidgetLayer() | |||
49 | } | 53 | } |
50 | 54 | ||
55 | |||
51 | /* --------------------------------- audio ---------------------------------- */ | 56 | /* --------------------------------- audio ---------------------------------- */ |
52 | 57 | ||