Ignore:
Timestamp:
Sep 14, 2011, 8:39:20 AM (9 years ago)
Author:
ryandesign@…
Message:

cutecom-qt4-mac: update to 0.22.0, use cmake portgroup; see #30779 (maintainer timeout)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/comms/cutecom-qt4-mac/files/patch-qcppdialogimpl.cpp

    r54864 r83987  
    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);
     1--- qcppdialogimpl.cpp.orig     2009-06-25 15:10:49.000000000 -0500
     2+++ qcppdialogimpl.cpp  2011-09-13 23:58:27.000000000 -0500
     3@@ -351,12 +351,12 @@
     4    QStringList devices=settings.value("/cutecom/AllDevices").toStringList();
    65    if (!entryFound)
     6    {
    77-      devices<<"/dev/ttyS0"<<"/dev/ttyS1"<<"/dev/ttyS2"<<"/dev/ttyS3";
    88+      devices<<DEVLIST;
     9    }
    910 
    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));
     11    m_deviceCb->insertItems(0, devices);
    1412 
    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;
     13-   int indexOfCurrentDevice = devices.indexOf(settings.value("/cutecom/CurrentDevice", "/dev/ttyS0").toString());
     14+   int indexOfCurrentDevice = devices.indexOf(settings.value("/cutecom/CurrentDevice", DEFAULT_DEV).toString());
     15    // fprintf(stderr, "currentDEev: -%s - index: %d\n", settings.value("/cutecom/CurrentDevice", "/dev/ttyS0").toString().toLatin1().constData(), indexOfCurrentDevice);
     16    if (indexOfCurrentDevice!=-1)
     17    {
Note: See TracChangeset for help on using the changeset viewer.