projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc8147e
)
changed: don't add parent folder items to folder set as root level of media windows
author
spiff
<spiff@xbmc.org>
Tue, 11 Oct 2011 19:54:38 +0000
(21:54 +0200)
committer
spiff
<spiff@xbmc.org>
Tue, 11 Oct 2011 19:54:38 +0000
(21:54 +0200)
xbmc/windows/GUIMediaWindow.cpp
patch
|
blob
|
history
diff --git
a/xbmc/windows/GUIMediaWindow.cpp
b/xbmc/windows/GUIMediaWindow.cpp
index
57f9a78
..
d0a54a0
100644
(file)
--- a/
xbmc/windows/GUIMediaWindow.cpp
+++ b/
xbmc/windows/GUIMediaWindow.cpp
@@
-652,7
+652,7
@@
bool CGUIMediaWindow::GetDirectory(const CStdString &strDirectory, CFileItemList
m_history.RemoveParentPath();
}
- if (m_guiState.get() && !m_guiState->HideParentDirItems() &&
!items.GetPath().IsEmpty()
)
+ if (m_guiState.get() && !m_guiState->HideParentDirItems() &&
items.GetPath() != m_startDirectory
)
{
CFileItemPtr pItem(new CFileItem(".."));
pItem->SetPath(strParentPath);