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:
parent
03ecde8b83
commit
9a480eb710
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user