mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 09:51:13 +02:00
gui/moviebrowser.cpp: allow to delete any file + xml
Origin commit data
------------------
Branch: ni/coolstream
Commit: 50a90906a0
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-11-05 (Wed, 05 Nov 2014)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -2031,14 +2031,14 @@ bool CMovieBrowser::onButtonPressMovieInfoList(neutrino_msg_t msg)
|
||||
void CMovieBrowser::onDeleteFile(MI_MOVIE_INFO& movieSelectionHandler, bool skipAsk)
|
||||
{
|
||||
//TRACE("[onDeleteFile] ");
|
||||
#if 0
|
||||
int test= movieSelectionHandler.file.Name.find(".ts", movieSelectionHandler.file.Name.length()-3);
|
||||
if (test == -1)
|
||||
{
|
||||
if (test == -1) {
|
||||
// not a TS file, return!!!!!
|
||||
TRACE("show_ts_info: not a TS file ");
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
#endif
|
||||
std::string msg = g_Locale->getText(LOCALE_FILEBROWSER_DODELETE1);
|
||||
msg += "\n ";
|
||||
if (movieSelectionHandler.file.Name.length() > 40)
|
||||
@@ -2079,7 +2079,6 @@ void CMovieBrowser::onDeleteFile(MI_MOVIE_INFO& movieSelectionHandler, bool skip
|
||||
refresh();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void CMovieBrowser::onSetGUIWindow(MB_GUI gui)
|
||||
{
|
||||
|
Reference in New Issue
Block a user