Skip to content

Commit

Permalink
Fix underspecified type
Browse files Browse the repository at this point in the history
  • Loading branch information
ywwg committed Nov 8, 2022
1 parent 78b3ba8 commit 4ed7ff1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/library/dao/cuedao.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ CuePointer cueFromRow(const QSqlRecord& row) {
const auto position =
mixxx::audio::FramePos::fromEngineSamplePosMaybeInvalid(
row.value(row.indexOf("position")).toDouble());
FrameDiff_t lengthFrames = row.value(row.indexOf("length")).toDouble() / mixxx::kEngineChannelCount;
mixxx::audio::FrameDiff_t lengthFrames =
row.value(row.indexOf("length")).toDouble() /
mixxx::kEngineChannelCount;
int hotcue = row.value(row.indexOf("hotcue")).toInt();
QString label = labelFromQVariant(row.value(row.indexOf("label")));
mixxx::RgbColor::optional_t color = mixxx::RgbColor::fromQVariant(row.value(row.indexOf("color")));
Expand Down

0 comments on commit 4ed7ff1

Please sign in to comment.