- Fixed default tab in torrent properties window

This commit is contained in:
Christophe Dumez 2008-05-16 22:27:36 +00:00
parent 8deb18fa9d
commit 4dece85483
2 changed files with 65 additions and 195 deletions

View file

@ -1181,7 +1181,7 @@ void bittorrent::readAlerts() {
// Authentication
if(p->status_code != 401) {
QString hash = h.hash();
qDebug("Received a tracker error for %s", (const char*)misc::toQString(p->url).toUtf8());
qDebug("Received a tracker error for %s", p->url.c_str());
QHash<QString, QString> errors = trackersErrors.value(hash, QHash<QString, QString>());
// p->url requires at least libtorrent v0.13.1
errors[misc::toQString(p->url)] = QString::fromUtf8(a->msg().c_str());