mirror of
https://github.com/KDE/kasts.git
synced 2024-12-26 16:33:14 +01:00
Fix...
This commit is contained in:
parent
e1d0eb38da
commit
8df9f56c48
@ -68,7 +68,7 @@ void FeedListModel::addFeed(QString url)
|
||||
query.prepare(QStringLiteral("SELECT name FROM Feeds WHERE url=:url;"));
|
||||
query.bindValue(QStringLiteral(":url"), url);
|
||||
query.exec();
|
||||
query.next()
|
||||
query.next();
|
||||
for(int i = 0; i < feeds.length(); i++) {
|
||||
if(feeds[i].url() == url) {
|
||||
feeds.removeAt(i);
|
||||
|
Loading…
Reference in New Issue
Block a user