mirror of
https://github.com/KDE/kasts.git
synced 2024-12-27 08:52:44 +01:00
fix image saving
This commit is contained in:
parent
c9bb068ec8
commit
ce103c9fc3
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user