mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Qt6: small API changes
A member function had a minute name change. The SceneGraphBackend is now set via a string argument, not a magic constant. Thankfully that appears to be backwards compatible. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
c3cc3155fc
commit
41fd72c815
3 changed files with 13 additions and 1 deletions
|
@ -77,7 +77,11 @@ private:
|
|||
QRectF plotRect;
|
||||
QSGNode *updatePaintNode(QSGNode *oldNode, QQuickItem::UpdatePaintNodeData *updatePaintNodeData) override;
|
||||
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
|
||||
void geometryChange(const QRectF &newGeometry, const QRectF &oldGeometry) override;
|
||||
#else
|
||||
void geometryChanged(const QRectF &newGeometry, const QRectF &oldGeometry) override;
|
||||
#endif
|
||||
void plotAreaChanged(const QSizeF &size);
|
||||
void reset(); // clears all series and axes
|
||||
void setAxes(StatsAxis *x, StatsAxis *y);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue