diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/controls/TabView.qml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/controls/TabView.qml b/src/controls/TabView.qml index e20bcf224..fb31ca670 100644 --- a/src/controls/TabView.qml +++ b/src/controls/TabView.qml @@ -95,9 +95,7 @@ FocusScope { Returns the newly added tab. */ function insertTab(index, title, component) { - // 'loader' parent is a pending workaround while waiting for: - // https://codereview.qt-project.org/#change,65788 - var tab = tabcomp.createObject(loader) + var tab = tabcomp.createObject() tab.sourceComponent = component tab.title = title // insert at appropriate index first, then set the parent to |
