From 474150327729d63706b89a54414ead68acd83fc9 Mon Sep 17 00:00:00 2001 From: zecke Date: Thu, 14 Oct 2004 01:44:27 +0000 Subject: -FlowControl and LineTermination are saved and activated by numerical value now. This makes it work across different translations -Switch code to use new PPPData::enter() and PPPData::flowcontrol() --- (limited to 'noncore/settings/networksettings/ppp/connect.cpp') diff --git a/noncore/settings/networksettings/ppp/connect.cpp b/noncore/settings/networksettings/ppp/connect.cpp index 128877a..8981e01 100644 --- a/noncore/settings/networksettings/ppp/connect.cpp +++ b/noncore/settings/networksettings/ppp/connect.cpp @@ -1215,8 +1215,8 @@ bool ConnectWidget::execppp() { if(_ifaceppp->data()->subnetmask() != "0.0.0.0") command += " netmask " + _ifaceppp->data()->subnetmask(); - if(_ifaceppp->data()->flowcontrol() != "None") { - if(_ifaceppp->data()->flowcontrol() == "CRTSCTS") + if(_ifaceppp->data()->flowcontrol() != PPPData::FlowNone) { + if(_ifaceppp->data()->flowcontrol() == PPPData::FlowHardware) command += " crtscts"; else command += " xonxoff"; -- cgit v0.9.0.2