mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-03-13 05:41:17 +00:00
Slight Optimization
This commit is contained in:
parent
c287879e55
commit
93563365ac
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user