Browse Source

- UpdateRatio only when it is displayed

- Resample favicon to 16x16 before displaying it for better quality
- Updated TODO
adaptive-webui-19844
Christophe Dumez 17 years ago
parent
commit
17b8f76dda
  1. 2
      TODO
  2. 1
      src/GUI.cpp
  3. 2
      src/rss.h

2
TODO

@ -47,8 +47,8 @@ @@ -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)

1
src/GUI.cpp

@ -1062,6 +1062,7 @@ void GUI::trackerAuthenticationRequired(QTorrentHandle& h) { @@ -1062,6 +1062,7 @@ void GUI::trackerAuthenticationRequired(QTorrentHandle& h) {
void GUI::checkConnectionStatus() {
// qDebug("Checking connection status");
// Update Ratio
if(getCurrentTabIndex() == 0)
downloadingTorrentTab->updateRatio();
// update global informations
if(systrayIntegration) {

2
src/rss.h

@ -395,6 +395,8 @@ class RssManager : public QObject{ @@ -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_){

Loading…
Cancel
Save