[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenetwork/kppp
From: Harri Porten <porten () kde ! org>
Date: 2005-03-18 10:37:41
Message-ID: 20050318103741.E8CB516DE8 () office ! kde ! org
[Download RAW message or body]
CVS commit by porten:
fixed yet another instance if i18n madness that is responsible for
connection problems. Thanks to Brendon Higgins for the report.
BUGS:95502
M +5 -2 connect.cpp 1.178
--- kdenetwork/kppp/connect.cpp #1.177:1.178
@@ -1274,6 +1274,9 @@ bool ConnectWidget::execppp() {
command += " netmask " + gpppdata.subnetmask();
- if(gpppdata.flowcontrol() != "None") {
- if(gpppdata.flowcontrol() == "CRTSCTS")
+ // the english/i18n mix below is ugly but we want to keep working
+ // after someone changed the code to use i18n'ed config values
+ QString flowCtrl = gpppdata.flowcontrol();
+ if(flowCtrl != "None" || flowCtrl != i18n("None")) {
+ if(flowCtrl == "CRTSCTS" || flowCtrl == i18n("Hardware [CRTSCTS]"))
command += " crtscts";
else
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic