We call `CrateDAO::addTracksToCrate` with `QList<int>` argument which is created in stack right before method call (`CrateTableModel::addTracks`, `CrateDAO::copyCrateTracks`, `WTrackTableView::addSelectionToCrate`). 
As in `CrateDAO::addTracksToCrate` we make `trackIdList.removeAt(i);`, we cant declare `trackIdList` as `const`. But we can use it as reference.