1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2025-01-05 12:56:52 +01:00

SqlQuery: Make QSqlDatabase parameter const reference

This commit is contained in:
Jonas Kvinge 2021-10-30 01:33:16 +02:00
parent 03ecde8b83
commit 9a480eb710

View File

@ -31,7 +31,7 @@
class SqlQuery : public QSqlQuery {
public:
explicit SqlQuery(QSqlDatabase db) : QSqlQuery(db) {}
explicit SqlQuery(const QSqlDatabase &db) : QSqlQuery(db) {}
void BindValue(const QString &placeholder, const QVariant &value);
bool Exec();