Changeset 9383 in ntrip for trunk/BNC/qwt/qwt_color_map.h


Ignore:
Timestamp:
Mar 19, 2021, 9:15:03 AM (3 years ago)
Author:
stoecker
Message:

update to qwt verion 6.1.1 to fix build with newer Qt5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/qwt/qwt_color_map.h

    r8127 r9383  
    107107
    108108    QwtLinearColorMap( QwtColorMap::Format = QwtColorMap::RGB );
    109     QwtLinearColorMap( const QColor &from, const QColor &to,
     109    QwtLinearColorMap( const QColor &color1, const QColor &color2,
    110110        QwtColorMap::Format = QwtColorMap::RGB );
    111111
     
    185185    {
    186186        const unsigned int index = colorIndex( interval, value );
    187         return colorTable( interval )[index]; // slow
     187
     188        const QVector<QRgb> rgbTable = colorTable( interval );
     189        return rgbTable[index]; // slow
    188190    }
    189191}
Note: See TracChangeset for help on using the changeset viewer.