summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore 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;