Skip to content

Commit

Permalink
fix recent searches
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviotordini committed Sep 8, 2020
1 parent d9d04f4 commit 2815e5a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/playlistmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,8 @@ void PlaylistModel::handleFirstVideo(Video *video) {

auto clazz = videoSource->metaObject()->className();
if (clazz == QLatin1String("YTSearch") || clazz == QLatin1String("IVSearch") ||
clazz == QLatin1String("IVChannelSource")) {
clazz == QLatin1String("IVChannelSource") || clazz == QLatin1String("YTJSSearch") ||
clazz == QLatin1String("YTJSChannelSource")) {
static const int maxRecentElements = 10;

SearchParams *searchParams;
Expand Down

0 comments on commit 2815e5a

Please sign in to comment.