Merge lp://qastaging/~osomon/ubuntu-ui-extras/tabDelegate-objectName-index into lp://qastaging/ubuntu-ui-extras

Proposed by Olivier Tilloy
Status: Needs review
Proposed branch: lp://qastaging/~osomon/ubuntu-ui-extras/tabDelegate-objectName-index
Merge into: lp://qastaging/ubuntu-ui-extras
Diff against target: 12 lines (+1/-1)
1 file modified
modules/Ubuntu/Components/Extras/TabsBar.qml (+1/-1)
To merge this branch: bzr merge lp://qastaging/~osomon/ubuntu-ui-extras/tabDelegate-objectName-index
Reviewer Review Type Date Requested Status
system-apps-ci-bot continuous-integration Needs Fixing
Andrew Hayzen (community) Approve
Review via email: mp+320721@code.qastaging.launchpad.net

Commit message

Ease QML testing of client apps by including the index of the tab delegate in its object name.

To post a comment you must log in.
Revision history for this message
Andrew Hayzen (ahayzen) wrote :

LGTM, I wonder if there is any performance difference between .arg() and just doing "tabDelegate_" + index

review: Approve
Revision history for this message
Olivier Tilloy (osomon) wrote :

I don’t know. I tend to use .arg() much more than plain string concatenation these days. I guess that would really matter if there were thousands of delegates, but that’s unlikely to ever happen with tabs, right?

Revision history for this message
Andrew Hayzen (ahayzen) wrote :

Yeah the difference is probably negligible :-)

Revision history for this message
system-apps-ci-bot (system-apps-ci-bot) wrote :
review: Needs Fixing (continuous-integration)

Unmerged revisions

131. By Olivier Tilloy

Ease QML testing of client apps by including the index of the tab delegate in its object name.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches