Permalink
Browse files

Merge pull request #4579 from jmarshallnz/display_path_to_delete

when deleting files, make sure we display the path
  • Loading branch information...
2 parents f952d1d + 4c5af7a commit 185f0a1b3bef9adea3a19775e22c4744d74afd6c @jmarshallnz jmarshallnz committed Apr 19, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 xbmc/utils/FileUtils.cpp
View
@@ -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 185f0a1

Please sign in to comment.