mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 17:23:07 -07:00
- Added some debug in rss
This commit is contained in:
parent
0fb78727d5
commit
c019b0d72c
3 changed files with 31 additions and 12 deletions
|
@ -182,6 +182,7 @@
|
|||
|
||||
// fills the streamList
|
||||
void RSSImp::refreshStreamList() {
|
||||
qDebug("Refreshing stream list");
|
||||
unsigned short nbstream = rssmanager.getNbStreams();
|
||||
listStreams->clear();
|
||||
QList<QTreeWidgetItem *> streams;
|
||||
|
@ -190,6 +191,7 @@
|
|||
updateStreamName(i, NEWS);
|
||||
stream->setToolTip(0, QString("<b>")+tr("Description:")+QString("</b> ")+rssmanager.getStream(i)->getDescription()+QString("<br/><b>")+tr("url:")+QString("</b> ")+rssmanager.getStream(i)->getUrl()+QString("<br/><b>")+tr("Last refresh:")+QString("</b> ")+rssmanager.getStream(i)->getLastRefreshElapsedString());
|
||||
}
|
||||
qDebug("Stream list refreshed");
|
||||
}
|
||||
|
||||
// fills the newsList
|
||||
|
@ -294,6 +296,7 @@
|
|||
refreshTimeTimer.start(60000); // 1min
|
||||
refreshStreamList();
|
||||
refreshTextBrowser();
|
||||
qDebug("RSSImp constructed");
|
||||
}
|
||||
|
||||
RSSImp::~RSSImp(){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue