aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/QuickMedia.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp
index e94ba34..e3f13de 100644
--- a/src/QuickMedia.cpp
+++ b/src/QuickMedia.cpp
@@ -2048,6 +2048,7 @@ namespace QuickMedia {
if(watched_videos.find((*it)->url) == watched_videos.end() && !video_page->video_should_be_skipped((*it)->url)) {
new_video_url = (*it)->url;
new_video_title = (*it)->get_title();
+ related_videos.erase(it);
break;
}
}