delete pList->at(position)->buffer;
pList->at(position)->buffer = new QBuffer();
}
bool playlist::existAt(int position)
{
delete pList->at(position)->buffer;
pList->at(position)->buffer = new QBuffer();
}
bool playlist::existAt(int position)
{
{
this->currentplayingitem = position;
if(!pList->at(position)->downloaded && this->currentdownloaditem != this->currentplayingitem)
{
this->currentplayingitem = position;
if(!pList->at(position)->downloaded && this->currentdownloaditem != this->currentplayingitem)
void playlist::getNError(QNetworkReply::NetworkError error)
{
qDebug() << "Network Error (if this is 99 then it will retry" << error;
void playlist::getNError(QNetworkReply::NetworkError error)
{
qDebug() << "Network Error (if this is 99 then it will retry" << error;