Diffstat (limited to 'noncore/apps/opie-console/io_modem.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/io_modem.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/noncore/apps/opie-console/io_modem.cpp b/noncore/apps/opie-console/io_modem.cpp index 56147d8..28d1722 100644 --- a/noncore/apps/opie-console/io_modem.cpp +++ b/noncore/apps/opie-console/io_modem.cpp | |||
@@ -17,16 +17,20 @@ void IOModem::close() { | |||
17 | 17 | ||
18 | IOSerial::close(); | 18 | IOSerial::close(); |
19 | 19 | ||
20 | } | 20 | } |
21 | 21 | ||
22 | bool IOModem::open() { | 22 | bool IOModem::open() { |
23 | qWarning("IOModem::open"); | 23 | bool ret = IOSerial::open(); |
24 | IOSerial::open(); | 24 | if(!ret) return false; |
25 | |||
26 | qWarning("IOModem::open continues..."); | ||
25 | 27 | ||
26 | Dialer d(m_profile); | 28 | Dialer d(m_profile); |
29 | qWarning("dialer created"); | ||
30 | |||
27 | int result = d.exec(); | 31 | int result = d.exec(); |
28 | if(result == QDialog::Accepted) | 32 | if(result == QDialog::Accepted) |
29 | { | 33 | { |
30 | return true; | 34 | return true; |
31 | } | 35 | } |
32 | else return false; | 36 | else return false; |