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... //Workaround...
QSqlQuery query; QSqlQuery query;
query.prepare("DELETE FROM Feeds WHERE url=:url"); query.prepare(QStringLiteral("DELETE FROM Feeds WHERE url=:url"));
query.bindValue(":url", data(createIndex(index, 0), 1).toString()); query.bindValue(QStringLiteral(":url"), data(createIndex(index, 0), 1).toString());
Database::instance().execute(query); Database::instance().execute(query);
select(); select();
} }