diff options
author | vdrfan <vdrfan@svn> | 2010-10-16 23:49:34 +0000 |
---|---|---|
committer | vdrfan <vdrfan@svn> | 2010-10-16 23:49:34 +0000 |
commit | 0c9d826f038a1ae0f843ddf0d3660102df2bbe88 (patch) | |
tree | bb0e47f6029d246c05fab344b83cc117bcb8c9b2 | |
parent | cd192628b82bf18922cdb333099c428cb8be802a (diff) |
fixed: wrong argument order in OnStorageAdded
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@34789 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
-rw-r--r-- | xbmc/linux/DeviceKitDisksProvider.cpp | 2 | ||||
-rw-r--r-- | xbmc/linux/UDisksProvider.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/xbmc/linux/DeviceKitDisksProvider.cpp b/xbmc/linux/DeviceKitDisksProvider.cpp index 70c0e20164..5638836677 100644 --- a/xbmc/linux/DeviceKitDisksProvider.cpp +++ b/xbmc/linux/DeviceKitDisksProvider.cpp @@ -390,7 +390,7 @@ void CDeviceKitDisksProvider::DeviceChanged(const char *object, IStorageEventsCa bool mounted = device->m_isMounted; device->Update(); if (!mounted && device->m_isMounted && callback) - callback->OnStorageAdded(device->m_MountPath, device->m_Label); + callback->OnStorageAdded(device->m_Label, device->m_MountPath); else if (mounted && !device->m_isMounted && callback) callback->OnStorageSafelyRemoved(device->m_Label); diff --git a/xbmc/linux/UDisksProvider.cpp b/xbmc/linux/UDisksProvider.cpp index 2d4e4b531e..eedadb38e6 100644 --- a/xbmc/linux/UDisksProvider.cpp +++ b/xbmc/linux/UDisksProvider.cpp @@ -364,7 +364,7 @@ void CUDisksProvider::DeviceChanged(const char *object, IStorageEventsCallback * bool mounted = device->m_isMounted; device->Update(); if (!mounted && device->m_isMounted && callback) - callback->OnStorageAdded(device->m_MountPath, device->m_Label); + callback->OnStorageAdded(device->m_Label, device->m_MountPath); else if (mounted && !device->m_isMounted && callback) callback->OnStorageSafelyRemoved(device->m_Label); |