diff options
author | Garrett Brown <themagnificentmrb@gmail.com> | 2024-01-06 12:11:24 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-06 12:11:24 -0800 |
commit | 15b92465cd7ee4d6d248f5783314e8e51e5c4a59 (patch) | |
tree | 9c3c4940a290bc605745a0cea4171eb10d5af83e | |
parent | e9c27d48515fa6cc146cfa43c759e4361b473aea (diff) | |
parent | 498f2b2865e3e91f037e6e01d696afc6a3879782 (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.cpp | 3 |
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); } } |