Diffstat (limited to 'noncore/apps/opie-console/io_bt.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/io_bt.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/io_bt.cpp b/noncore/apps/opie-console/io_bt.cpp index 8bff4df..0831faf 100644 --- a/noncore/apps/opie-console/io_bt.cpp +++ b/noncore/apps/opie-console/io_bt.cpp | |||
@@ -33,12 +33,13 @@ bool IOBt::open() { | |||
33 | 33 | ||
34 | if ( m_attach->start() ) { | 34 | if ( m_attach->start() ) { |
35 | IOSerial::open(); | 35 | IOSerial::open(); |
36 | } else { | 36 | } else { |
37 | qWarning("could not attach to device"); | 37 | qWarning("could not attach to device"); |
38 | delete m_attach; | 38 | delete m_attach; |
39 | m_attach = 0; | ||
39 | } | 40 | } |
40 | } | 41 | } |
41 | 42 | ||
42 | void IOBt::reload( const Profile &config ) { | 43 | void IOBt::reload( const Profile &config ) { |
43 | m_device = config.readEntry("Device", BT_DEFAULT_DEVICE); | 44 | m_device = config.readEntry("Device", BT_DEFAULT_DEVICE); |
44 | m_mac = config.readEntry("Mac", BT_DEFAULT_MAC); | 45 | m_mac = config.readEntry("Mac", BT_DEFAULT_MAC); |