author | dwmw2 <dwmw2> | 2003-06-07 15:49:06 (UTC) |
---|---|---|
committer | dwmw2 <dwmw2> | 2003-06-07 15:49:06 (UTC) |
commit | e02157a68d186a17778d3b393a327660df5fbac3 (patch) (unidiff) | |
tree | 3abede8e557239579041511b973c15a2d9e0f273 /noncore/settings/networksettings/ppp/connect.cpp | |
parent | 1a7addc9f586b35c4c4f5025030349c3064bc3b7 (diff) | |
download | opie-e02157a68d186a17778d3b393a327660df5fbac3.zip opie-e02157a68d186a17778d3b393a327660df5fbac3.tar.gz opie-e02157a68d186a17778d3b393a327660df5fbac3.tar.bz2 |
Don't close the tty before invoking pppd. It makes it difficult to use.
Diffstat (limited to 'noncore/settings/networksettings/ppp/connect.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/ppp/connect.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/noncore/settings/networksettings/ppp/connect.cpp b/noncore/settings/networksettings/ppp/connect.cpp index 798431b..6905d79 100644 --- a/noncore/settings/networksettings/ppp/connect.cpp +++ b/noncore/settings/networksettings/ppp/connect.cpp | |||
@@ -828,7 +828,10 @@ void ConnectWidget::timerEvent(QTimerEvent *) { | |||
828 | // Close the tty. This prevents the QTimer::singleShot() in | 828 | // Close the tty. This prevents the QTimer::singleShot() in |
829 | // Modem::readtty() from re-enabling the socket notifier. | 829 | // Modem::readtty() from re-enabling the socket notifier. |
830 | // The port is still held open by the helper process. | 830 | // The port is still held open by the helper process. |
831 | _ifaceppp->modem()->closetty(); | 831 | |
832 | /* Er, there _is_ not QTimer::singleShot() in Modem::readtty(), | ||
833 | and closing the thing prevents pppd from using it later. */ | ||
834 | //_ifaceppp->modem()->closetty(); | ||
832 | 835 | ||
833 | killTimer( main_timer_ID ); | 836 | killTimer( main_timer_ID ); |
834 | 837 | ||