Changeset 99 in pacpussensors for trunk/SpanCPTComponent/CPTComponent.cpp


Ignore:
Timestamp:
Oct 15, 2015, 2:47:01 PM (9 years ago)
Author:
nguyenhu
Message:

compilation under linux with 0.2.X framework

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SpanCPTComponent/CPTComponent.cpp

    r88 r99  
    183183    memcpy(buffer, currentDataFrame, currentDataFrameLength_);
    184184    buffer[currentDataFrameLength_] = '\0'; // add a \0 to convert for the conversion in QString
    185     currentDataFrame_ = QString::fromAscii(buffer);
     185    currentDataFrame_ = "";
     186    currentDataFrame_.append(buffer);
    186187
    187188        delete[] buffer;
Note: See TracChangeset for help on using the changeset viewer.