fix image saving

This commit is contained in:
Tobias Fella 2020-03-30 21:09:15 +02:00
parent c9bb068ec8
commit ce103c9fc3

View File

@ -75,7 +75,7 @@ void FeedListModel::addFeed(QString url)
for(int i = 0; i < feeds.length(); i++) { for(int i = 0; i < feeds.length(); i++) {
if(feeds[i].url() == url) { if(feeds[i].url() == url) {
feeds.removeAt(i); feeds.removeAt(i);
feeds.insert(i, Feed(url, query.value(0).toString(), query.value(0).toString())); feeds.insert(i, Feed(url, query.value(0).toString(), query.value(1).toString()));
emit dataChanged(index(i), index(i)); emit dataChanged(index(i), index(i));
break; break;
} }