Skip to content

Commit

Permalink
Merge pull request #2695 from Be-ing/windows_build
Browse files Browse the repository at this point in the history
DlgReplaceCueColor: try to fix Windows build
  • Loading branch information
Be-ing authored Apr 22, 2020
2 parents c41c097 + 5374195 commit 606be3c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/dialog/dlgreplacecuecolor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -335,11 +335,9 @@ void DlgReplaceCueColor::slotApply() {
VERIFY_OR_DEBUG_ASSERT(color) {
continue;
}
CueDatabaseRow row = {
.id = selectQuery.value(idColumn).toInt(),
.trackId = TrackId(selectQuery.value(trackIdColumn).toInt()),
.color = *color,
};
CueDatabaseRow row = {selectQuery.value(idColumn).toInt(),
TrackId(selectQuery.value(trackIdColumn).toInt()),
*color};
rows << row;
trackIds << row.trackId;
}
Expand Down

0 comments on commit 606be3c

Please sign in to comment.