}
const QStringList & AggregateVideoSource::getSuggestions() {
- QStringList *l = new QStringList();
- return *l;
+ static const QStringList l;
+ return l;
}
void AggregateVideoSource::abort() { }
}
const QStringList & YTSingleVideoSource::getSuggestions() {
- static const QStringList *l = new QStringList();
- return *l;
+ static const QStringList l;
+ return l;
}
QString YTSingleVideoSource::getName() {
}
const QStringList & YTStandardFeed::getSuggestions() {
- QStringList *l = new QStringList();
- return *l;
+ static const QStringList l;
+ return l;
}
void YTStandardFeed::requestError(QNetworkReply *reply) {