D10722: other preload microoptimizations

Kai Uwe Broulik noreply at phabricator.kde.org
Wed Feb 21 17:04:16 UTC 2018


broulik added inline comments.

INLINE COMMENTS

> iconitem.h:42
>      Q_OBJECT
> +    Q_INTERFACES(QQmlParserStatus)
>  

`QQuickItem` should do that for you already

> svgitem.h:41
>      Q_OBJECT
> +    Q_INTERFACES(QQmlParserStatus)
>  

Same here

> ScrollArea.qml:58
> +    Component.onCompleted: {
> +        if (contentItem.forceLayout !== undefined) {
> +            contentItem.forceLayout();

`typeof contentItem.forceLayout === "function"`

REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D10722

To: mart, #plasma
Cc: broulik, plasma-devel, #frameworks, michaelh, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180221/9d79dd4d/attachment.html>


More information about the Kde-frameworks-devel mailing list