1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-03-13 05:41:17 +00:00

Slight Optimization

This commit is contained in:
Christophe Dumez 2010-03-07 20:33:06 +00:00
parent c287879e55
commit 93563365ac

View File

@ -359,13 +359,12 @@ void RssManager::moveFile(RssFile* file, RssFolder* dest_folder) {
}
void RssManager::saveStreamList(){
QList<QPair<QString, QString> > streamsList;
QStringList streamsUrl;
QStringList aliases;
QList<RssStream*> streams = getAllFeeds();
foreach(RssStream *stream, streams) {
QString stream_path = stream->getPath().join("\\");
qDebug("Saving stream path: %s", stream_path.toLocal8Bit().data());
const QList<RssStream*> &streams = getAllFeeds();
foreach(const RssStream *stream, streams) {
const QString &stream_path = stream->getPath().join("\\");
qDebug("Saving stream path: %s", qPrintable(stream_path));
streamsUrl << stream_path;
aliases << stream->getName();
}