Skip to content

Commit

Permalink
QQuickRhiItem: make (Private&, parent) ctor explicit
Browse files Browse the repository at this point in the history
Found in API-review.

Amends 8e6d3d8.

Pick-to: 6.9
Change-Id: Ia0dd506eea3fd469050ded143acbb3bc824ec05f
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
  • Loading branch information
marcmutz committed Jan 3, 2025
1 parent 2c39e11 commit e85980a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/quick/items/qquickrhiitem.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class Q_QUICK_EXPORT QQuickRhiItem : public QQuickItem
void effectiveColorBufferSizeChanged();

protected:
QQuickRhiItem(QQuickRhiItemPrivate &dd, QQuickItem *parent = nullptr);
explicit QQuickRhiItem(QQuickRhiItemPrivate &dd, QQuickItem *parent = nullptr);

virtual QQuickRhiItemRenderer *createRenderer() = 0;

Expand Down

0 comments on commit e85980a

Please sign in to comment.