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
@@ -18,8 +18,9 @@ void IOModem::close() {
// Hangup, discarding result
Dialer d(m_profile, rawIO());
d.setHangupOnly();
d.exec();
+ closeRawIO();
IOSerial::close();
}
@@ -29,8 +30,9 @@ bool IOModem::open() {
Dialer d(m_profile, rawIO());
int result = d.exec();
+ closeRawIO();
if(result == QDialog::Accepted)
{
return true;
}