~dpm/ubuntu-filemanager-app/run-ap-from-out-of-source-build

« back to all changes in this revision

Viewing changes to ubuntu-filemanager-app.qml

  • Committer: Tarmac
  • Author(s): Michael Spencer
  • Date: 2014-03-20 17:56:59 UTC
  • mfrom: (140.1.3 ubuntu-filemanager-app)
  • Revision ID: tarmac-20140320175659-ijgjqrzzwp9cm0k3
Temporarily disabled support for multiple tabs since the Tabs implementation broke it. Fixes: https://bugs.launchpad.net/bugs/1294365.

Approved by Nicholas Skaggs, Ubuntu Phone Apps Jenkins Bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
        Tabs {
96
96
            id: tabs
97
97
 
98
 
            Repeater {
99
 
                model: folderTabs
100
 
                delegate: Tab {
101
 
                    title: page.title
102
 
                    page: FolderListPage {
103
 
                        objectName: "folderPage"
 
98
            Tab {
 
99
                title: page.title
 
100
                page: FolderListPage {
 
101
                    objectName: "folderPage"
104
102
 
105
 
                        folder: modelData
106
 
                    }
 
103
                    folder: "~"//modelData
107
104
                }
108
105
            }
 
106
 
 
107
            // TODO: Temporarily disabled tabs support since this is broken in the SDK (lp:1295242)
 
108
//            Repeater {
 
109
//                model: folderTabs
 
110
//                delegate: Tab {
 
111
//                    title: page.title
 
112
//                    page: FolderListPage {
 
113
//                        objectName: "folderPage"
 
114
 
 
115
//                        folder: modelData
 
116
//                    }
 
117
//                }
 
118
//            }
109
119
        }
110
120
 
111
121
        Component.onCompleted: {
112
122
            pageStack.push(tabs)
113
 
            pageStack.push(settingsPage)
 
123
            pageStack.push(Qt.resolvedUrl("ui/FolderListPage.qml"))
114
124
            pageStack.pop()
115
125
            loaded = true
116
126
        }