videocollection/videocollectionwrapper/tsrc/testvideomodel_p/stub/src/videodatacontainer.cpp
equal
deleted
inserted
replaced
158 |
158 |
159 // ----------------------------------------------------------------------------- |
159 // ----------------------------------------------------------------------------- |
160 // idFromIndex |
160 // idFromIndex |
161 // ----------------------------------------------------------------------------- |
161 // ----------------------------------------------------------------------------- |
162 // |
162 // |
163 TMPXItemId& VideoDataContainer::idFromIndex(const int &index) const |
163 const TMPXItemId& VideoDataContainer::idFromIndex(const int &index) const |
164 { |
164 { |
165 if(index >= 0 && index < mMediaIds.count()) |
165 if(index >= 0 && index < mMediaIds.count()) |
166 { |
166 { |
167 return mMediaIds[index]; |
167 return mMediaIds[index]; |
168 } |
168 } |