From 478d9536a6ca04a8d5bb98532eb22bcc11bd48e1 Mon Sep 17 00:00:00 2001 From: Philippe Saint-Pierre Date: Fri, 1 Aug 2014 18:07:25 -0400 Subject: [PATCH] Icon outline setting was ignored if no background image found Might have been the cause behind #10019. --- src/kits/tracker/BackgroundImage.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/kits/tracker/BackgroundImage.cpp b/src/kits/tracker/BackgroundImage.cpp index fb96183cb3..f981da3caf 100644 --- a/src/kits/tracker/BackgroundImage.cpp +++ b/src/kits/tracker/BackgroundImage.cpp @@ -98,16 +98,13 @@ BackgroundImage::GetBackgroundImage(const BNode* node, bool isDesktop) if (container.FindString(kBackgroundImageInfoPath, index, &path) == B_OK) { bitmap = BTranslationUtils::GetBitmap(path); - if (!bitmap) { + if (!bitmap) PRINT(("failed to load background bitmap from path\n")); - continue; - } } else break; - if (be_control_look != NULL && isDesktop) { + if (be_control_look != NULL && isDesktop) be_control_look->SetBackgroundInfo(container); - } container.FindInt32(kBackgroundImageInfoWorkspaces, index, (int32*)&workspaces);