aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvdrfan <vdrfan@svn>2010-10-16 23:49:34 +0000
committervdrfan <vdrfan@svn>2010-10-16 23:49:34 +0000
commit0c9d826f038a1ae0f843ddf0d3660102df2bbe88 (patch)
treebb0e47f6029d246c05fab344b83cc117bcb8c9b2
parentcd192628b82bf18922cdb333099c428cb8be802a (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.cpp2
-rw-r--r--xbmc/linux/UDisksProvider.cpp2
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);