Skip to content

Commit

Permalink
Update src/library/rekordbox/rekordboxfeature.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Swiftb0y <[email protected]>
  • Loading branch information
andreivn2 and Swiftb0y authored Nov 5, 2024
1 parent 9e79318 commit 394e93a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/library/rekordbox/rekordboxfeature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1318,7 +1318,9 @@ bool RekordboxPlaylistModel::isColumnInternal(int column) {
}

void RekordboxPlaylistModel::onPlayingTrackChanged(TrackPointer pTrack) {
if (pTrack) {
if (!pTrack) {
return;
}
QSqlQuery query(m_database);
query.prepare("select id from " + kRekordboxLibraryTable + " where location=:location");
query.bindValue(":location", pTrack->getLocation());
Expand Down

0 comments on commit 394e93a

Please sign in to comment.