Skip to content

Commit

Permalink
Update MediaMetaData.cpp
Browse files Browse the repository at this point in the history
fix: not compile
  • Loading branch information
waterstrider authored Jan 13, 2022
1 parent 784a1a4 commit d93eb44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qml/MediaMetaData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 76,8 @@ void MediaMetaData::setValuesFromStatistics(const QtAV::Statistics &st)
setValue(TrackNumber, it.value().toInt());
continue;
}
setValue(TrackNumber, it.value().left(slash).string()->toInt()); //QStringRef.toInt(): Qt5.2
setValue(TrackCount, it.value().mid(slash 1).string()->toInt());
setValue(TrackNumber, it.value().left(slash).toInt()); //QStringRef.toInt(): Qt5.2
setValue(TrackCount, it.value().mid(slash 1).toInt());
continue;
}
if (keyName == QLatin1String("date")
Expand Down

0 comments on commit d93eb44

Please sign in to comment.