Diffstat (limited to 'noncore/apps/opie-console/io_irda.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/io_irda.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/io_irda.cpp b/noncore/apps/opie-console/io_irda.cpp index 8e31e82..56a373c 100644 --- a/noncore/apps/opie-console/io_irda.cpp +++ b/noncore/apps/opie-console/io_irda.cpp | |||
@@ -32,8 +32,10 @@ bool IOIrda::open() { | |||
32 | if ( m_attach->start() ) { | 32 | if ( m_attach->start() ) { |
33 | IOSerial::open(); | 33 | IOSerial::open(); |
34 | } else { | 34 | } else { |
35 | // emit error!!! | ||
35 | qWarning("could not attach to device"); | 36 | qWarning("could not attach to device"); |
36 | delete m_attach; | 37 | delete m_attach; |
38 | m_attach = 0l; | ||
37 | } | 39 | } |
38 | } | 40 | } |
39 | 41 | ||