DeskBar: use the prepared transparent icon when necessary

In the odd case where there is no icon for an app, and the generic
3 boxes icon is also unavailable/removed, Deskbar now properly draws
the transparent icon that was prepared, but not used (and leaked).
This commit is contained in:
Philippe Saint-Pierre
2013-08-02 21:04:57 -04:00
parent 055118de88
commit ba03d61b4f
+1 -1
View File
@@ -969,7 +969,7 @@ TBarApp::FetchAppIcon(BarTeamInfo* barInfo)
}
delete barInfo->iconCache[index];
barInfo->iconCache[index] = NULL;
barInfo->iconCache[index] = barInfo->icon = icon;
}