summaryrefslogtreecommitdiff
authorjosef <josef>2002-10-21 20:22:57 (UTC)
committer josef <josef>2002-10-21 20:22:57 (UTC)
commitd7703116959fb71492f18a60eb41babd1183d7ec (patch) (side-by-side diff)
treeb8c4d77c283ca06298525cd24cf0cf388b7443c8
parent95a908dba86f7588e3130094e7d292f3df6a3a42 (diff)
downloadopie-d7703116959fb71492f18a60eb41babd1183d7ec.zip
opie-d7703116959fb71492f18a60eb41babd1183d7ec.tar.gz
opie-d7703116959fb71492f18a60eb41babd1183d7ec.tar.bz2
WARNING, UNTESTED
- closeRawIO() when we're done with dialing
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-console/io_modem.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/io_modem.cpp b/noncore/apps/opie-console/io_modem.cpp
index 2f0c04e..e1f9ff1 100644
--- a/noncore/apps/opie-console/io_modem.cpp
+++ b/noncore/apps/opie-console/io_modem.cpp
@@ -19,6 +19,7 @@ void IOModem::close() {
Dialer d(m_profile, rawIO());
d.setHangupOnly();
d.exec();
+ closeRawIO();
IOSerial::close();
}
@@ -30,6 +31,7 @@ bool IOModem::open() {
Dialer d(m_profile, rawIO());
int result = d.exec();
+ closeRawIO();
if(result == QDialog::Accepted)
{
return true;