Use cached current time when parse RSS feed

PR #21959.
This commit is contained in:
Vladimir Golovnev 2024-12-07 11:10:53 +03:00 committed by Vladimir Golovnev (Glassez)
parent 0d7c367332
commit b899ea8c40
No known key found for this signature in database
GPG key ID: 52A2C7DEE2DFA6F7
2 changed files with 16 additions and 17 deletions

View file

@ -1,6 +1,6 @@
/*
* Bittorrent Client using Qt and libtorrent.
* Copyright (C) 2015 Vladimir Golovnev <glassez@yandex.ru>
* Copyright (C) 2015-2024 Vladimir Golovnev <glassez@yandex.ru>
* Copyright (C) 2012 Christophe Dumez <chris@qbittorrent.org>
*
* This program is free software; you can redistribute it and/or
@ -29,6 +29,7 @@
#pragma once
#include <QDateTime>
#include <QList>
#include <QObject>
#include <QSet>
@ -66,6 +67,7 @@ namespace RSS::Private
void parseAtomChannel(QXmlStreamReader &xml);
void addArticle(QVariantHash article);
QDateTime m_fallbackDate;
QString m_baseUrl;
ParsingResult m_result;
QSet<QString> m_articleIDs;