| 1234 | } |
| 1235 | |
| 1236 | void BookmarkManager::SetBookmarksAddresses(AddressesCollection const & addresses) |
| 1237 | { |
| 1238 | CHECK_THREAD_CHECKER(m_threadChecker, ()); |
| 1239 | auto session = GetEditSession(); |
| 1240 | for (auto const & item : addresses) |
| 1241 | { |
| 1242 | // Use inner method GetBookmarkForEdit to save address even if the bookmarks is not editable. |
| 1243 | auto bm = GetBookmarkForEdit(item.first); |
| 1244 | bm->SetAddress(item.second); |
| 1245 | } |
| 1246 | } |
| 1247 | |
| 1248 | // static |
| 1249 | void BookmarkManager::AddTracksSortedBlock(std::vector<SortTrackData> const & sortedTracks, |
nothing calls this directly
no test coverage detected