1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 07:18:08 +00:00

Add check for null. Fix provided by glassez.

Closes #4280.
This commit is contained in:
Chocobo1 2015-12-22 12:38:18 +08:00
parent db459b2400
commit 07de39ff17

View File

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