| 117 | int loadingWorker::id_counter = 0; |
| 118 | |
| 119 | void loadingWorker::setJob(playlistItem *item, int frame, bool test) |
| 120 | { |
| 121 | Q_ASSERT_X(item != nullptr, Q_FUNC_INFO, "Given item is nullptr"); |
| 122 | Q_ASSERT_X(frame >= 0 || !item->properties().isIndexedByFrame(), |
| 123 | Q_FUNC_INFO, |
| 124 | "Given frame index invalid"); |
| 125 | currentCacheItem = item; |
| 126 | currentFrame = frame; |
| 127 | testMode = test; |
| 128 | } |
| 129 | |
| 130 | void loadingWorker::processCacheJob() |
| 131 | { |
no test coverage detected