aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfuzzard <fuzzard@users.noreply.github.com>2023-02-22 11:50:25 +1000
committerGitHub <noreply@github.com>2023-02-22 11:50:25 +1000
commitfe0eaae55fffbc18dd4ad96cd811711873effc39 (patch)
tree3096faf036fb4371637cd27cc2c547ebdc46a46b
parentc0e58db2aef76c5ef5047779d150f1e01e3305d2 (diff)
parent6ca76fbe8c0e4f7990682654d6a02b04e828c1fe (diff)
Merge pull request #22376 from fuzzard/android_fileman_logpath
[android] FileManager add special://logpath to FileManager default list
-rw-r--r--xbmc/windows/GUIWindowFileManager.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/xbmc/windows/GUIWindowFileManager.cpp b/xbmc/windows/GUIWindowFileManager.cpp
index 4d3f399e95..ef5cd3590e 100644
--- a/xbmc/windows/GUIWindowFileManager.cpp
+++ b/xbmc/windows/GUIWindowFileManager.cpp
@@ -525,6 +525,13 @@ bool CGUIWindowFileManager::Update(int iList, const std::string &strDirectory)
iItem->SetLabelPreformatted(true);
m_vecItems[iList]->Add(iItem);
#endif
+ #ifdef TARGET_ANDROID
+ CFileItemPtr iItem(new CFileItem("special://logpath", true));
+ iItem->SetLabel("Logs");
+ iItem->SetArt("thumb", "DefaultFolder.png");
+ iItem->SetLabelPreformatted(true);
+ m_vecItems[iList]->Add(iItem);
+ #endif
}
// if we have a .tbn file, use itself as the thumb