Permalink
Browse files

when deleting files, make sure we display the path so the user has a …

…chance to verify what's actually happening. closes #14468
  • Loading branch information...
1 parent 2b0d814 commit 4c5af7abc38e906a63e3c2be7fd1df6750b80ed8 Jonathan Marshall committed Apr 19, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 xbmc/utils/FileUtils.cpp
@@ -55,7 +55,7 @@ bool CFileUtils::DeleteItem(const CFileItemPtr &item, bool force)
{
pDialog->SetHeading(122);
pDialog->SetLine(0, 125);
- pDialog->SetLine(1, URIUtils::GetFileName(item->GetPath()));
+ pDialog->SetLine(1, CURL(item->GetPath()).GetWithoutUserDetails());
pDialog->SetLine(2, "");
pDialog->DoModal();
if (!pDialog->IsConfirmed()) return false;

0 comments on commit 4c5af7a

Please sign in to comment.