Ignore:
Timestamp:
May 10, 2017, 3:20:54 PM (7 years ago)
Author:
stoecker
Message:

update qwt and qwtpolar, many QT5 fixes (unfinished)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/qwtpolar/qwt_polar_canvas.cpp

    r4272 r8127  
    99#include "qwt_polar_canvas.h"
    1010#include "qwt_polar_plot.h"
     11#include <qwt_painter.h>
    1112#include <qpainter.h>
    1213#include <qevent.h>
     
    213214                {
    214215                    QWidget *bgWidget = qwtBackgroundWidget( plot() );
    215                     bs.fill( bgWidget, mapTo( bgWidget, rect().topLeft() ) );
     216
     217                                        QwtPainter::fillPixmap( bgWidget, bs,
     218                                                mapTo( bgWidget, rect().topLeft() ) );
     219
    216220                    p.begin( &bs );
    217221                }
Note: See TracChangeset for help on using the changeset viewer.