diff options
author | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-10-21 14:58:38 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-10-22 14:42:22 +0000 |
commit | 8652098027b59edaf51f1779a7d575da931061c7 (patch) | |
tree | a742a9f82a167f5de98e9ac54263a7ea0f7b4d5a /.qmake.conf | |
parent | e3bf4f771458590dd003fc710803c1c1babea68e (diff) |
Move the internal ExclusiveGroup from TabBar to Container
TabBar needs to support PathView as a content item (for the Universal
style). PathView creates a highlight item, which wrongly ends up being
added as a content child. It shows up as an extra empty TabBar item, and
leads to a warning from ExclusiveGroup::addCheckable().
An exclusive group instance is lazily created only for those containers
that need it. This allows us to simplify the virtual hooks for added and
removed items, whereas otherwise we would had had to add more complex
hooks (before _and_ after adding an item) to be able to control/ignore
the highlight somehow from the TabBar subclass.
Change-Id: I2c35a1dd80541bc6b30e713a760277940a5486ed
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to '.qmake.conf')
0 files changed, 0 insertions, 0 deletions