diff --git a/src/declarativeimports/core/units.h b/src/declarativeimports/core/units.h index 48cfccb7a..38eee349d 100644 --- a/src/declarativeimports/core/units.h +++ b/src/declarativeimports/core/units.h @@ -135,14 +135,6 @@ public: */ QQmlPropertyMap *iconSizes() const; - /** - * @return a size rounded tothe nearest inferior standard icon size. - * sizes larger than iconSizes.huge, it will be returned unmodified - * @param int size the size we want to be rounded down - * @see iconSizes - */ - Q_INVOKABLE static int roundToIconSize(int size); - /** * @return Pixel value for large spacing between elements. * @since 5.0 @@ -168,6 +160,14 @@ public: int shortDuration() const; /// @endcond + /** + * @return a size rounded tothe nearest inferior standard icon size. + * sizes larger than iconSizes.huge, it will be returned unmodified + * @param int size the size we want to be rounded down + * @see iconSizes + */ + Q_INVOKABLE static int roundToIconSize(int size); + Q_SIGNALS: void devicePixelRatioChanged(); void gridUnitChanged();