aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartijn Kaijser <martijn@xbmc.org>2016-12-28 21:52:54 +0100
committerGitHub <noreply@github.com>2016-12-28 21:52:54 +0100
commit9ba94f502ecfcdd62c20336711ff53a6170146da (patch)
treeaa8b1ebd8dd95fd90b32c8f4689531503761e786
parentf7fe03ae38048976236cd8f2d0cda4fa3bfa284c (diff)
parentf456d988cc0f3ee4059f181b1f53f7dbcc864499 (diff)
Merge pull request #11279 from garbear/notifications
Hide device event notifications
-rw-r--r--xbmc/peripherals/Peripherals.cpp3
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()