Changeset 9383 in ntrip for trunk/BNC/qwt/qwt_raster_data.cpp


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_raster_data.cpp

    r8127 r9383  
    217217   \brief Pixel hint
    218218
    219    pixelHint() returns the geometry of a pixel, that can be used 
     219   pixelHint() returns the geometry of a pixel, that can be used
    220220   to calculate the resolution and alignment of the plot item, that is
    221    representing the data. 
    222    
    223    Width and height of the hint need to be the horizontal 
    224    and vertical distances between 2 neighbored points. 
    225    The center of the hint has to be the position of any point 
     221   representing the data.
     222
     223   Width and height of the hint need to be the horizontal
     224   and vertical distances between 2 neighbored points.
     225   The center of the hint has to be the position of any point
    226226   ( it doesn't matter which one ).
    227227
     
    230230   Limiting the resolution of the image might significantly improve
    231231   the performance and heavily reduce the amount of memory when rendering
    232    a QImage from the raster data. 
     232   a QImage from the raster data.
    233233
    234234   The default implementation returns an empty rectangle recommending
     
    238238               depend on the requested area.
    239239
    240    \return Bounding rectangle of a pixel 
     240   \return Bounding rectangle of a pixel
    241241*/
    242242QRectF QwtRasterData::pixelHint( const QRectF &area ) const
    243243{
    244244    Q_UNUSED( area );
    245     return QRectF(); 
     245    return QRectF();
    246246}
    247247
     
    281281    QwtRasterData *that = const_cast<QwtRasterData *>( this );
    282282    that->initRaster( rect, raster );
     283
     284#if __GNUC__ >= 9
     285#pragma GCC diagnostic push
     286#pragma GCC diagnostic ignored "-Wdeprecated-copy"
     287#endif
    283288
    284289    for ( int y = 0; y < raster.height() - 1; y++ )
     
    399404    }
    400405
     406#if __GNUC__ >= 9
     407#pragma GCC diagnostic pop
     408#endif
     409
    401410    that->discardRaster();
    402411
Note: See TracChangeset for help on using the changeset viewer.