diff options
author | Martijn Kaijser <martijn@xbmc.org> | 2016-12-28 21:52:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-28 21:52:54 +0100 |
commit | 9ba94f502ecfcdd62c20336711ff53a6170146da (patch) | |
tree | aa8b1ebd8dd95fd90b32c8f4689531503761e786 | |
parent | f7fe03ae38048976236cd8f2d0cda4fa3bfa284c (diff) | |
parent | f456d988cc0f3ee4059f181b1f53f7dbcc864499 (diff) |
Merge pull request #11279 from garbear/notifications
Hide device event notifications
-rw-r--r-- | xbmc/peripherals/Peripherals.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xbmc/peripherals/Peripherals.cpp b/xbmc/peripherals/Peripherals.cpp index 0abf0ef0d4..ad59c440e6 100644 --- a/xbmc/peripherals/Peripherals.cpp +++ b/xbmc/peripherals/Peripherals.cpp @@ -384,7 +384,8 @@ void CPeripherals::OnDeviceDeleted(const CPeripheralBus &bus, const CPeripheral { OnDeviceChanged(); - bool bNotify = true; + //! @todo Improve device notifications in v18 + bool bNotify = false; // don't show a notification for emulated peripherals if (peripheral.Type() == PERIPHERAL_JOYSTICK_EMULATION) //! @todo Change to peripheral.IsEmulated() |