Skip to content

Commit

Permalink
Remove link from comment (group)
Browse files Browse the repository at this point in the history
  • Loading branch information
Iktwo committed Sep 18, 2014
1 parent d9210dd commit b3a0966
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/downloader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,14 @@ void Downloader::downloadFinished(QNetworkReply *reply)

QString comment = songs.mid(termBegins, termEnds - termBegins);

searchTerm = ">";
closingTerm = "</";

termBegins = comment.indexOf(searchTerm) + searchTerm.length();
termEnds = comment.indexOf(closingTerm, termBegins);

comment = comment.mid(termBegins, termEnds - termBegins);

// qDebug() << "ADDDING SONG:";
// qDebug() << "TITLE:" << title << "GROUP:" << group << "LENGTH:" << length
// << "COMMENT:" << comment << "KBPS:" << kbps << "CODE:" << code
Expand Down

0 comments on commit b3a0966

Please sign in to comment.