QStringLiteralify all the things
This commit is contained in:
parent
df297dd898
commit
708b958da1
@ -88,8 +88,8 @@ void FeedListModel::removeFeed(int index)
|
||||
{
|
||||
//Workaround...
|
||||
QSqlQuery query;
|
||||
query.prepare("DELETE FROM Feeds WHERE url=:url");
|
||||
query.bindValue(":url", data(createIndex(index, 0), 1).toString());
|
||||
query.prepare(QStringLiteral("DELETE FROM Feeds WHERE url=:url"));
|
||||
query.bindValue(QStringLiteral(":url"), data(createIndex(index, 0), 1).toString());
|
||||
Database::instance().execute(query);
|
||||
select();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user