Skip to content

Commit

Permalink
when deleting files, make sure we display the path so the user has a …
Browse files Browse the repository at this point in the history
…chance to verify what's actually happening. closes #14468
  • Loading branch information
Jonathan Marshall committed Apr 19, 2014
1 parent 2b0d814 commit 4c5af7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/utils/FileUtils.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ bool CFileUtils::DeleteItem(const CFileItemPtr &item, bool force)
{ {
pDialog->SetHeading(122); pDialog->SetHeading(122);
pDialog->SetLine(0, 125); pDialog->SetLine(0, 125);
pDialog->SetLine(1, URIUtils::GetFileName(item->GetPath())); pDialog->SetLine(1, CURL(item->GetPath()).GetWithoutUserDetails());
pDialog->SetLine(2, ""); pDialog->SetLine(2, "");
pDialog->DoModal(); pDialog->DoModal();
if (!pDialog->IsConfirmed()) return false; if (!pDialog->IsConfirmed()) return false;
Expand Down

0 comments on commit 4c5af7a

Please sign in to comment.