diff --git a/src/bittorrent.cpp b/src/bittorrent.cpp index 97844ec24..218a252f8 100644 --- a/src/bittorrent.cpp +++ b/src/bittorrent.cpp @@ -63,7 +63,7 @@ bittorrent::bittorrent() : DHTEnabled(false), preAllocateAll(false), addInPause( // Check if we should spoof utorrent QSettings settings(QString::fromUtf8("qBittorrent"), QString::fromUtf8("qBittorrent")); if(settings.value(QString::fromUtf8("AzureusSpoof"), false).toBool()) { - s = new session(fingerprint("UT", 1, 8, 3, 0), 0); + s = new session(fingerprint("UT", 1, 8, 4, 0), 0); } else { s = new session(fingerprint("qB", VERSION_MAJOR, VERSION_MINOR, VERSION_BUGFIX, 0), 0); } diff --git a/src/properties_imp.cpp b/src/properties_imp.cpp index b15fb6446..efe99c0ae 100644 --- a/src/properties_imp.cpp +++ b/src/properties_imp.cpp @@ -454,7 +454,15 @@ void properties::loadTrackers(){ if(errors.contains(current_tracker)) { item->setForeground(QBrush(QColor("red"))); // Set tooltip - item->setToolTip(errors[current_tracker]); + QString msg=""; + unsigned int i=0; + foreach(QString word, errors[current_tracker].split(" ")) { + if(i > 0 && i%5!=1) msg += " "; + msg += word; + if(i> 0 && i%5==0) msg += "\n"; + ++i; + } + item->setToolTip(msg); } else { item->setForeground(QBrush(QColor("green"))); }