diff --git a/TODO b/TODO index 2721e1b70..e1abddecc 100644 --- a/TODO +++ b/TODO @@ -47,8 +47,8 @@ - Windows port (Chris - Peerkoel) - write a patch for file_priority(int index), actual_size(); - valgrind --tool=memcheck --leak-check=full src/qbittorrent (Looks ok) +- 134m 35m 16m S 0.3 3.5 4:04.77 qbittorrent * beta 6 - - clean rss icons on exit - Translations update (IN PROGRESS) - Wait for some bug fixes in libtorrent : - Number of seeds non null for finished torrent (Ticket #122) diff --git a/src/GUI.cpp b/src/GUI.cpp index 62d33e1b3..8a469085a 100644 --- a/src/GUI.cpp +++ b/src/GUI.cpp @@ -1062,7 +1062,8 @@ void GUI::trackerAuthenticationRequired(QTorrentHandle& h) { void GUI::checkConnectionStatus() { // qDebug("Checking connection status"); // Update Ratio - downloadingTorrentTab->updateRatio(); + if(getCurrentTabIndex() == 0) + downloadingTorrentTab->updateRatio(); // update global informations if(systrayIntegration) { myTrayIcon->setToolTip(QString::fromUtf8("")+tr("qBittorrent")+QString::fromUtf8("
")+tr("DL speed: %1 KiB/s", "e.g: Download speed: 10 KiB/s").arg(QString(QByteArray::number(BTSession->getPayloadDownloadRate()/1024., 'f', 1)))+QString::fromUtf8("
")+tr("UP speed: %1 KiB/s", "e.g: Upload speed: 10 KiB/s").arg(QString(QByteArray::number(BTSession->getPayloadUploadRate()/1024., 'f', 1)))); // tray icon diff --git a/src/rss.h b/src/rss.h index cb147db97..dd95a22ab 100644 --- a/src/rss.h +++ b/src/rss.h @@ -395,6 +395,8 @@ class RssManager : public QObject{ Image image(QDir::cleanPath(path+".ico").toUtf8().data()); // Convert to PNG since we can't read ICO format image.magick("PNG"); + // Resize to 16x16px + image.sample(Geometry(16, 16)); image.write(path.toUtf8().data()); QFile::remove(path+".ico"); }catch(Magick::Exception &error_){