author | ibotty <ibotty> | 2002-10-13 16:56:54 (UTC) |
---|---|---|
committer | ibotty <ibotty> | 2002-10-13 16:56:54 (UTC) |
commit | 495abbf351f29328b52cb055566ef8bec6f466f0 (patch) (side-by-side diff) | |
tree | 7b462124c88f6127bf3f789339ebde9e4a089e35 | |
parent | 19cf7d4ff5a64aff90e31b29072ce30db6a046ec (diff) | |
download | opie-495abbf351f29328b52cb055566ef8bec6f466f0.zip opie-495abbf351f29328b52cb055566ef8bec6f466f0.tar.gz opie-495abbf351f29328b52cb055566ef8bec6f466f0.tar.bz2 |
key presses should be now visible.
-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 //m_image = QArray<Character>( m_lines * m_columns ); m_image = QArray<Character>( 1 ); + + // we need to install an event filter, + // to emit keypresses. + qApp->installEventFilter( this ); } @@ -49,4 +53,5 @@ WidgetLayer::~WidgetLayer() } + /* --------------------------------- audio ---------------------------------- */ |