X-Git-Url: https://git.sur5r.net/?p=minitube;a=blobdiff_plain;f=src%2Fyt%2Fytjs%2Fytjschannelsource.cpp;fp=src%2Fyt%2Fytjs%2Fytjschannelsource.cpp;h=a38264006fb84e26633a76cf9b8b3fe5de056c49;hp=f09bbabc986853908155398ce53dad59eb07a850;hb=3800f6fe8c95e30967c8da99d4b1669a26bf173c;hpb=9337294c49c89c5cb01db726835da60af566821f diff --git a/src/yt/ytjs/ytjschannelsource.cpp b/src/yt/ytjs/ytjschannelsource.cpp index f09bbab..a382640 100644 --- a/src/yt/ytjs/ytjschannelsource.cpp +++ b/src/yt/ytjs/ytjschannelsource.cpp @@ -76,8 +76,6 @@ void YTJSChannelSource::loadVideos(int max, int startIndex) { .onJson([this](auto &doc) { auto obj = doc.object(); - qDebug() << doc.toJson(); - continuation = obj["continuation"].toString(); const auto items = obj["items"].toArray(); @@ -123,7 +121,7 @@ void YTJSChannelSource::loadVideos(int max, int startIndex) { QString channelName = i["author"].toString(); if (channelName != name) { - this->name = channelName; + name = channelName; emit nameChanged(name); } video->setChannelTitle(channelName);