mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
RSS code rewrite in progress
This commit is contained in:
parent
2b1e4912f2
commit
2d5612435c
14 changed files with 331 additions and 434 deletions
|
@ -60,7 +60,7 @@ static const char longMonth[][10] = {
|
|||
|
||||
// Ported to Qt4 from KDElibs4
|
||||
QDateTime RssArticle::parseDate(const QString &string) {
|
||||
QString str = string.trimmed();
|
||||
const QString str = string.trimmed();
|
||||
if (str.isEmpty())
|
||||
return QDateTime::currentDateTime();
|
||||
|
||||
|
@ -228,7 +228,7 @@ RssArticle::RssArticle(RssFeed* parent, QXmlStreamReader& xml): m_parent(parent)
|
|||
}
|
||||
|
||||
RssArticle::RssArticle(RssFeed* parent, const QString &guid):
|
||||
m_parent(parent), m_guid(guid) {
|
||||
m_parent(parent), m_guid(guid), m_read(false) {
|
||||
}
|
||||
|
||||
RssArticle::~RssArticle(){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue