|
|
@ -123,6 +123,7 @@ void EventManager::modifiedTorrent(QTorrentHandle h) |
|
|
|
leechs += " ("+QString::number(h.num_incomplete())+")"; |
|
|
|
leechs += " ("+QString::number(h.num_incomplete())+")"; |
|
|
|
event["num_leechs"] = QVariant(leechs); |
|
|
|
event["num_leechs"] = QVariant(leechs); |
|
|
|
event["seed"] = QVariant(h.is_seed()); |
|
|
|
event["seed"] = QVariant(h.is_seed()); |
|
|
|
|
|
|
|
event["ratio"] = QVariant(QString::number(BTSession->getRealRatio(hash), 'f', 1)); |
|
|
|
event["hash"] = QVariant(hash); |
|
|
|
event["hash"] = QVariant(hash); |
|
|
|
event_list[hash] = event; |
|
|
|
event_list[hash] = event; |
|
|
|
} |
|
|
|
} |
|
|
|