diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/painting/qpaintengine_raster.cpp | 2 | ||||
-rw-r--r-- | src/gui/painting/qpdf.cpp | 2 | ||||
-rw-r--r-- | src/gui/painting/qtriangulatingstroker.cpp | 4 |
3 files changed, 3 insertions, 5 deletions
diff --git a/src/gui/painting/qpaintengine_raster.cpp b/src/gui/painting/qpaintengine_raster.cpp index 0a4628b158..a6e69dd89b 100644 --- a/src/gui/painting/qpaintengine_raster.cpp +++ b/src/gui/painting/qpaintengine_raster.cpp @@ -1681,8 +1681,6 @@ void QRasterPaintEngine::stroke(const QVectorPath &path, const QPen &pen) QRect QRasterPaintEngine::toNormalizedFillRect(const QRectF &rect) { - QRasterPaintEngineState *s = state(); - int x1 = qRound(rect.x()); int y1 = qRound(rect.y()); int x2 = qRound(rect.right()); diff --git a/src/gui/painting/qpdf.cpp b/src/gui/painting/qpdf.cpp index 0ef3b968a1..626274d856 100644 --- a/src/gui/painting/qpdf.cpp +++ b/src/gui/painting/qpdf.cpp @@ -649,7 +649,7 @@ QPdf::Stroker::Stroker() basicStroker.setStrokeWidth(.1); } -void QPdf::Stroker::setPen(const QPen &pen, QPainter::RenderHints hints) +void QPdf::Stroker::setPen(const QPen &pen, QPainter::RenderHints) { if (pen.style() == Qt::NoPen) { stroker = nullptr; diff --git a/src/gui/painting/qtriangulatingstroker.cpp b/src/gui/painting/qtriangulatingstroker.cpp index 0719b9a76d..44365685c8 100644 --- a/src/gui/painting/qtriangulatingstroker.cpp +++ b/src/gui/painting/qtriangulatingstroker.cpp @@ -79,7 +79,7 @@ static inline void skipDuplicatePoints(const qreal **pts, const qreal *endPts) } } -void QTriangulatingStroker::process(const QVectorPath &path, const QPen &pen, const QRectF &, QPainter::RenderHints hints) +void QTriangulatingStroker::process(const QVectorPath &path, const QPen &pen, const QRectF &, QPainter::RenderHints) { const qreal *pts = path.points(); const QPainterPath::ElementType *types = path.elements(); @@ -537,7 +537,7 @@ QDashedStrokeProcessor::QDashedStrokeProcessor() m_dash_stroker.setCubicToHook(qdashprocessor_cubicTo); } -void QDashedStrokeProcessor::process(const QVectorPath &path, const QPen &pen, const QRectF &clip, QPainter::RenderHints hints) +void QDashedStrokeProcessor::process(const QVectorPath &path, const QPen &pen, const QRectF &clip, QPainter::RenderHints) { const qreal *pts = path.points(); |