Browse Source

Add check for null. Fix provided by glassez.

Closes #4280.
adaptive-webui-19844
Chocobo1 9 years ago
parent
commit
07de39ff17
  1. 2
      src/gui/transferlistfilterswidget.cpp

2
src/gui/transferlistfilterswidget.cpp

@ -626,6 +626,8 @@ void TrackerFiltersList::handleFavicoDownload(const QString& url, const QString&
} }
QListWidgetItem *trackerItem = item(rowFromTracker(host)); QListWidgetItem *trackerItem = item(rowFromTracker(host));
if (!trackerItem) return;
QIcon icon(filePath); QIcon icon(filePath);
//Detect a non-decodable icon //Detect a non-decodable icon
QList<QSize> sizes = icon.availableSizes(); QList<QSize> sizes = icon.availableSizes();

Loading…
Cancel
Save