From a39165a6597bd7197e2bfbbff01406bc39b9e10f Mon Sep 17 00:00:00 2001 From: Atul Date: Wed, 19 Jun 2019 00:31:01 +0200 Subject: [PATCH] revert to latest spec --- src/cpp/Extras/Utils/utils.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cpp/Extras/Utils/utils.cpp b/src/cpp/Extras/Utils/utils.cpp index 69eda6021..855ff3651 100644 --- a/src/cpp/Extras/Utils/utils.cpp +++ b/src/cpp/Extras/Utils/utils.cpp @@ -17,10 +17,10 @@ YGSize extrautils::measureQtWidget (YGNodeRef node, float width, YGMeasureMode w if(widget){ QSize size = widget->sizeHint(); return YGSize{ - width : static_cast(size.width()), - height : static_cast(size.height()), + .width = static_cast(size.width()), + .height = static_cast(size.height()), }; } } - return YGSize{width : 0, height : 0}; + return YGSize{ .width = 0, .height = 0}; } \ No newline at end of file