mirror of https://github.com/KDE/kasts.git
QStringLiteralify all the things
This commit is contained in:
parent
df297dd898
commit
708b958da1
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue