D10722: other preload microoptimizations

Kai Uwe Broulik noreply at phabricator.kde.org
Wed Feb 21 17:04:15 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/plasma-devel/attachments/20180221/59920808/attachment.html>


More information about the Plasma-devel mailing list