Diffstat (limited to 'noncore/apps/opie-console/io_modem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/io_modem.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/noncore/apps/opie-console/io_modem.cpp b/noncore/apps/opie-console/io_modem.cpp index d4ea0b2..b7901b9 100644 --- a/noncore/apps/opie-console/io_modem.cpp +++ b/noncore/apps/opie-console/io_modem.cpp | |||
@@ -29,11 +29,13 @@ bool IOModem::open() { | |||
29 | bool ret = IOSerial::open(); | 29 | bool ret = IOSerial::open(); |
30 | if(!ret) return false; | 30 | if(!ret) return false; |
31 | 31 | ||
32 | int fd = rawIO(); | 32 | //int fd = rawIO(); |
33 | Dialer d(m_profile, fd); | 33 | internDetach(); |
34 | Dialer d(m_profile, m_fd); | ||
34 | 35 | ||
35 | int result = d.exec(); | 36 | int result = d.exec(); |
36 | closeRawIO(fd); | 37 | internAttach(); |
38 | //closeRawIO(fd); | ||
37 | if(result == QDialog::Accepted) | 39 | if(result == QDialog::Accepted) |
38 | { | 40 | { |
39 | return true; | 41 | return true; |