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