aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarrett Brown <themagnificentmrb@gmail.com>2024-01-06 12:11:24 -0800
committerGitHub <noreply@github.com>2024-01-06 12:11:24 -0800
commit15b92465cd7ee4d6d248f5783314e8e51e5c4a59 (patch)
tree9c3c4940a290bc605745a0cea4171eb10d5af83e
parente9c27d48515fa6cc146cfa43c759e4361b473aea (diff)
parent498f2b2865e3e91f037e6e01d696afc6a3879782 (diff)
Merge pull request #24404 from garbear/backport-peripheral-icons
[Backport] Fix missing controller icon in Peripheral Dialog
-rw-r--r--xbmc/peripherals/bus/PeripheralBus.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/xbmc/peripherals/bus/PeripheralBus.cpp b/xbmc/peripherals/bus/PeripheralBus.cpp
index e570e79297..59a4c6160e 100644
--- a/xbmc/peripherals/bus/PeripheralBus.cpp
+++ b/xbmc/peripherals/bus/PeripheralBus.cpp
@@ -322,7 +322,8 @@ void CPeripheralBus::GetDirectory(const std::string& strPath, CFileItemList& ite
peripheralFile->SetProperty("version", strVersion);
peripheralFile->SetLabel2(strDetails);
- peripheralFile->SetArt("icon", "DefaultAddon.png");
+ peripheralFile->SetArt("icon", peripheral->GetIcon());
+
items.Add(peripheralFile);
}
}