browser: properly report errors when deleting items fails
This commit is contained in:
@@ -74,7 +74,7 @@ struct Browser: Screen<NC::Menu<MPD::Item>>, Filterable, HasSongs, Searchable, T
|
||||
void GetLocalDirectory(MPD::ItemList &, const std::string &, bool) const;
|
||||
void ClearDirectory(const std::string &) const;
|
||||
void ChangeBrowseMode();
|
||||
bool deleteItem(const MPD::Item &);
|
||||
bool deleteItem(const MPD::Item &, std::string &errmsg);
|
||||
# endif // !WIN32
|
||||
|
||||
static bool isParentDirectory(const MPD::Item &item) {
|
||||
|
||||
Reference in New Issue
Block a user