summaryrefslogtreecommitdiff
path: root/qcustomplot-source/qcustomplot.cpp
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2026-09-26 23:24:28 +0200
committerChristoph Berg <myon@debian.org>2026-09-26 23:24:28 +0200
commit69344560ea394c06ca94acac46a2e4c3e8b7b229 (patch)
treeebc98370a697a9bbd6b973a14fa5113c475c6db7 /qcustomplot-source/qcustomplot.cpp
parent3e9d10a67671d0bd5c7b8c3ca8088f1818322eff (diff)
parent059831534c7e884f0a607ed86b582fd00d821731 (diff)
Update upstream source from tag 'upstream/3.2.0_rc1+dfsg'
Update to upstream version '3.2.0~rc1+dfsg' with Debian dir dbff457fd2c3616d5c77b863c7bfb2186ed86047
Diffstat (limited to 'qcustomplot-source/qcustomplot.cpp')
-rw-r--r--qcustomplot-source/qcustomplot.cpp18
1 files changed, 7 insertions, 11 deletions
diff --git a/qcustomplot-source/qcustomplot.cpp b/qcustomplot-source/qcustomplot.cpp
index 375fc57a..9ae3a4f6 100644
--- a/qcustomplot-source/qcustomplot.cpp
+++ b/qcustomplot-source/qcustomplot.cpp
@@ -667,7 +667,7 @@ QCPPaintBufferPixmap::~QCPPaintBufferPixmap()
QCPPainter *QCPPaintBufferPixmap::startPainting()
{
QCPPainter *result = new QCPPainter(&mBuffer);
- result->setRenderHint(QPainter::HighQualityAntialiasing);
+ result->setRenderHint(QPainter::Antialiasing);
return result;
}
@@ -755,7 +755,7 @@ QCPPainter *QCPPaintBufferGlPbuffer::startPainting()
}
QCPPainter *result = new QCPPainter(mGlPBuffer);
- result->setRenderHint(QPainter::HighQualityAntialiasing);
+ result->setRenderHint(QPainter::Antialiasing);
return result;
}
@@ -860,7 +860,7 @@ QCPPainter *QCPPaintBufferGlFbo::startPainting()
mGlContext.data()->makeCurrent(mGlContext.data()->surface());
mGlFrameBuffer->bind();
QCPPainter *result = new QCPPainter(mGlPaintDevice.data());
- result->setRenderHint(QPainter::HighQualityAntialiasing);
+ result->setRenderHint(QPainter::Antialiasing);
return result;
}
@@ -14465,7 +14465,7 @@ void QCustomPlot::paintEvent(QPaintEvent *event)
QCPPainter painter(this);
if (painter.isActive())
{
- painter.setRenderHint(QPainter::HighQualityAntialiasing); // to make Antialiasing look good if using the OpenGL graphicssystem
+ painter.setRenderHint(QPainter::Antialiasing); // to make Antialiasing look good if using the OpenGL graphicssystem
if (mBackgroundBrush.style() != Qt::NoBrush)
painter.fillRect(mViewport, mBackgroundBrush);
drawBackground(&painter);
@@ -20872,11 +20872,9 @@ void QCPGraph::getOptimizedScatterData(QVector<QCPGraphData> *scatterData, QCPGr
*/
void QCPGraph::getVisibleDataBounds(QCPGraphDataContainer::const_iterator &begin, QCPGraphDataContainer::const_iterator &end, const QCPDataRange &rangeRestriction) const
{
- if (rangeRestriction.isEmpty())
- {
- end = mDataContainer->constEnd();
- begin = end;
- } else
+ end = mDataContainer->constEnd();
+ begin = end;
+ if (!rangeRestriction.isEmpty())
{
QCPAxis *keyAxis = mKeyAxis.data();
QCPAxis *valueAxis = mValueAxis.data();
@@ -29785,5 +29783,3 @@ QPen QCPItemBracket::mainPen() const
return mSelected ? mSelectedPen : mPen;
}
/* end of 'src/items/item-bracket.cpp' */
-
-