diff options
Diffstat (limited to 'src/library/baseexternalplaylistmodel.cpp')
-rw-r--r-- | src/library/baseexternalplaylistmodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/baseexternalplaylistmodel.cpp b/src/library/baseexternalplaylistmodel.cpp index 067f87a9ba..d927f88965 100644 --- a/src/library/baseexternalplaylistmodel.cpp +++ b/src/library/baseexternalplaylistmodel.cpp @@ -80,7 +80,7 @@ Qt::ItemFlags BaseExternalPlaylistModel::flags(const QModelIndex& index) const { return readOnlyFlags(index); } -void BaseExternalPlaylistModel::setPlaylist(QString playlist_path) { +void BaseExternalPlaylistModel::setPlaylist(const QString& playlist_path) { QSqlQuery finder_query(m_database); finder_query.prepare(QString("SELECT id from %1 where name=:name").arg(m_playlistsTable)); finder_query.bindValue(":name", playlist_path); |