1 | --- qcppdialogimpl.cpp.orig 2008-03-12 16:09:50.000000000 -0500 |
---|
2 | +++ qcppdialogimpl.cpp 2009-03-28 10:13:13.000000000 -0500 |
---|
3 | @@ -243,11 +243,10 @@ |
---|
4 | bool entryFound=false; |
---|
5 | QStringList devices=settings.readListEntry("/cutecom/AllDevices", &entryFound); |
---|
6 | if (!entryFound) |
---|
7 | - devices<<"/dev/ttyS0"<<"/dev/ttyS1"<<"/dev/ttyS2"<<"/dev/ttyS3"; |
---|
8 | + devices<<DEVLIST; |
---|
9 | |
---|
10 | m_deviceCb->insertStringList(devices); |
---|
11 | - |
---|
12 | - m_deviceCb->setCurrentText(settings.readEntry("/cutecom/CurrentDevice", "/dev/ttyS0")); |
---|
13 | + m_deviceCb->setCurrentText(settings.readEntry("/cutecom/CurrentDevice", DEFAULT_DEV)); |
---|
14 | |
---|
15 | QStringList history=settings.readListEntry("/cutecom/History"); |
---|
16 | |
---|
17 | @@ -929,15 +928,15 @@ |
---|
18 | case 230400: |
---|
19 | _baud=B230400; |
---|
20 | break; |
---|
21 | - case 460800: |
---|
22 | - _baud=B460800; |
---|
23 | - break; |
---|
24 | - case 576000: |
---|
25 | - _baud=B576000; |
---|
26 | - break; |
---|
27 | - case 921600: |
---|
28 | - _baud=B921600; |
---|
29 | - break; |
---|
30 | +// case 460800: |
---|
31 | +// _baud=B460800; |
---|
32 | +// break; |
---|
33 | +// case 576000: |
---|
34 | +// _baud=B576000; |
---|
35 | +// break; |
---|
36 | +// case 921600: |
---|
37 | +// _baud=B921600; |
---|
38 | +// break; |
---|
39 | // case 128000: |
---|
40 | // _baud=B128000; |
---|
41 | // break; |
---|