aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarrett Brown <themagnificentmrb@gmail.com>2023-12-31 19:09:30 -0800
committerGarrett Brown <themagnificentmrb@gmail.com>2024-01-02 09:39:07 -0800
commit498f2b2865e3e91f037e6e01d696afc6a3879782 (patch)
treeed42694930aff80df30266a92b875e9f649e504e
parent0b5629e3ee5f79d175580b1b25fb27227e9f3c89 (diff)
[Peripherals] 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);
}
}