Commit b35a6aff authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Convert to QVector

parent 9f66e33a
......@@ -46,7 +46,7 @@ ArticleDeleteJob::ArticleDeleteJob(QObject *parent)
Q_ASSERT(m_feedList);
}
void ArticleDeleteJob::appendArticleIds(const QList<ArticleId> &ids)
void ArticleDeleteJob::appendArticleIds(const Akregator::ArticleIdList &ids)
{
m_ids += ids;
}
......
......@@ -49,7 +49,7 @@ struct ArticleId {
}
};
typedef QList<Akregator::ArticleId> ArticleIdList;
typedef QVector<Akregator::ArticleId> ArticleIdList;
class AKREGATOR_EXPORT CompositeJob : public KCompositeJob
{
......
......@@ -854,7 +854,7 @@ void Feed::deleteExpiredArticles(ArticleDeleteJob *deleteJob)
setNotificationMode(false);
QList<ArticleId> toDelete;
Akregator::ArticleIdList toDelete;
const QString feedUrl = xmlUrl();
const bool useKeep = Settings::doNotExpireImportantArticles();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment