diff --git a/examples/gallery/button/ButtonPage.cpp b/examples/gallery/button/ButtonPage.cpp index 03166754..3026561a 100644 --- a/examples/gallery/button/ButtonPage.cpp +++ b/examples/gallery/button/ButtonPage.cpp @@ -18,7 +18,7 @@ namespace { public: ButtonBox( Qt::Orientation orientation, QQuickItem* parent = nullptr ) - : ButtonBox( orientation, -1, parent ) + : ButtonBox( orientation, std::numeric_limits< uint >::max(), parent ) { }