QStringLiteralify all the things

This commit is contained in:
Tobias Fella 2020-04-20 01:50:57 +02:00
parent df297dd898
commit 708b958da1
1 changed files with 2 additions and 2 deletions

View File

@ -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();
}