Collect and save alltime UL/DL samples

Conflicts:
	src/qtlibtorrent/torrentspeedmonitor.cpp
This commit is contained in:
Nick Tiskov
2013-11-14 23:56:13 +04:00
committed by sledgehammer999
parent 454cd4c120
commit d74e96f65f
4 changed files with 53 additions and 4 deletions

View File

@@ -2889,6 +2889,14 @@ qlonglong QBtSession::getETA(const QString &hash) const
return m_speedMonitor->getETA(hash);
}
quint64 QBtSession::getAlltimeDL() const {
return m_speedMonitor->getAlltimeDL();
}
quint64 QBtSession::getAlltimeUL() const {
return m_speedMonitor->getAlltimeUL();
}
void QBtSession::handleIPFilterParsed(int ruleCount)
{
addConsoleMessage(tr("Successfully parsed the provided IP filter: %1 rules were applied.", "%1 is a number").arg(ruleCount));