[haiku-commits] haiku: hrev45944 - src/apps/deskbar

  • From: stpere@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 3 Aug 2013 03:07:58 +0200 (CEST)

hrev45944 adds 1 changeset to branch 'master'
old head: 055118de8852bba94c28c5398348a35bdf8313b3
new head: ba03d61b4f5d03da428b1afa054c9c74f4a4e2c6
overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=ba03d61+%5E055118d

----------------------------------------------------------------------------

ba03d61: 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).

                                [ Philippe Saint-Pierre <stpere@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev45944
Commit:      ba03d61b4f5d03da428b1afa054c9c74f4a4e2c6
URL:         http://cgit.haiku-os.org/haiku/commit/?id=ba03d61
Author:      Philippe Saint-Pierre <stpere@xxxxxxxxx>
Date:        Sat Aug  3 01:04:57 2013 UTC

----------------------------------------------------------------------------

1 file changed, 1 insertion(+), 1 deletion(-)
src/apps/deskbar/BarApp.cpp | 2 +-

----------------------------------------------------------------------------

diff --git a/src/apps/deskbar/BarApp.cpp b/src/apps/deskbar/BarApp.cpp
index cc9a629..920567a 100644
--- a/src/apps/deskbar/BarApp.cpp
+++ b/src/apps/deskbar/BarApp.cpp
@@ -969,7 +969,7 @@ TBarApp::FetchAppIcon(BarTeamInfo* barInfo)
        }
 
        delete barInfo->iconCache[index];
-       barInfo->iconCache[index] = NULL;
+       barInfo->iconCache[index] = barInfo->icon = icon;
 }
 
 


Other related posts:

  • » [haiku-commits] haiku: hrev45944 - src/apps/deskbar - stpere