~daker/ubuntu-rssreader-app/fix.1217297

« back to all changes in this revision

Viewing changes to feeds/ChooseTopicPage.qml

  • Committer: Roman Shchekin
  • Date: 2013-09-01 14:35:33 UTC
  • mto: This revision was merged to the branch mainline in revision 52.
  • Revision ID: mrqtros@gmail.com-20130901143533-aqeohpuf6qlbt335
Fix for https://bugs.launchpad.net/ubuntu-rssreader-app/+bug/1217300.
A lot of little but extremelly important changes in refresh process.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
    property var feedsToAdd: null
17
17
 
18
 
    signal feedAdded(int feedId, int topicId)
 
18
    signal topicChoosen(int topicId, var addedFeeds)
19
19
 
20
20
    tools: ToolbarItems {
21
21
        id: appendFeedTools
131
131
                    DB.updateFeedByXml(dbResult.feedId, f.link, f.description, feedTitle)
132
132
 
133
133
                    DB.addFeedTag(dbResult.feedId, tagId)
134
 
                    feedAdded(dbResult.feedId, tagId)
 
134
                    // feedAdded(dbResult.feedId, tagId)
135
135
 
136
136
                    updateList.push({"source" : f.url, "link" : f.link, "id" : dbResult.feedId})
137
137
                }
138
138
 
139
139
                pageStack.pop()
140
140
                pageStack.pop()
141
 
                xmlnetwork.updateFeeds(updateList)
 
141
 
 
142
                topicChoosen(tagId, updateList)
142
143
            }
143
144
        }
144
145
    }