aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspiff_ <spiff_@svn>2010-04-27 12:06:39 +0000
committerspiff_ <spiff_@svn>2010-04-27 12:06:39 +0000
commit5b33e42582d1e9c387d71b3dc5084181617cdea4 (patch)
treee5826c40d477c90ea7f100e3ef967cdc5960b0fc
parentd20ec81fe3f277226f5090fad49a76ac1596d4bf (diff)
fixed: don't show removable media in the addon browser
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@29537 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
-rw-r--r--xbmc/GUIWindowAddonBrowser.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/xbmc/GUIWindowAddonBrowser.cpp b/xbmc/GUIWindowAddonBrowser.cpp
index 2756244ba0..c3a7c6137c 100644
--- a/xbmc/GUIWindowAddonBrowser.cpp
+++ b/xbmc/GUIWindowAddonBrowser.cpp
@@ -73,6 +73,7 @@ bool CGUIWindowAddonBrowser::OnMessage(CGUIMessage& message)
break;
case GUI_MSG_WINDOW_INIT:
{
+ m_rootDir.AllowNonLocalSources(false);
// check for valid quickpath parameter
CStdString strDestination = message.GetNumStringParams() ? message.GetStringParam(0) : "";
CStdString strReturn = message.GetNumStringParams() > 1 ? message.GetStringParam(1) : "";