Avoid using connect in QQuickImplicitSizeItem.
authorMichael Brasser <michael.brasser@live.com>
Thu, 1 Aug 2013 13:44:27 +0000 (08:44 -0500)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 1 Aug 2013 18:53:03 +0000 (20:53 +0200)
commit55edeb68e2aba81724ccbada98c1bf021b3a2b7d
tree37fd16f8b8aea5f60ad8f48137f8bb0cf0df1f51
parent472950ecab88fc41a99f2a1deb861a4abd273174
Avoid using connect in QQuickImplicitSizeItem.

In the past connect has shown up as a noticeable cost in item
creation. Avoid the use here by refactoring to call base class
implementation and emit override signal as well.

Task-number: QTBUG-32764
Change-Id: If3e5a1cc55c113d812705fcfdc7a17aee9d6f51c
Reviewed-by: Alan Alpert (Personal) <416365416c@gmail.com>
src/quick/items/qquickimplicitsizeitem.cpp