Remove unused variable
This commit is contained in:
@@ -68,7 +68,6 @@ void RadioBackend::AddChannels(const RadioChannelList &channels) {
|
|||||||
QSqlQuery q(db);
|
QSqlQuery q(db);
|
||||||
q.prepare(QString("INSERT INTO radio_channels (source, name, url, thumbnail_url) VALUES (:source, :name, :url, :thumbnail_url)"));
|
q.prepare(QString("INSERT INTO radio_channels (source, name, url, thumbnail_url) VALUES (:source, :name, :url, :thumbnail_url)"));
|
||||||
|
|
||||||
RadioChannelList streams;
|
|
||||||
for (const RadioChannel &channel : channels) {
|
for (const RadioChannel &channel : channels) {
|
||||||
q.bindValue(":source", channel.source);
|
q.bindValue(":source", channel.source);
|
||||||
q.bindValue(":name", channel.name);
|
q.bindValue(":name", channel.name);
|
||||||
|
|||||||
Reference in New Issue
Block a user