File tree 4 files changed +3
-9
lines changed
4 files changed +3
-9
lines changed Original file line number Diff line number Diff line change 10
10
11
11
#include <vdr/plugin.h>
12
12
13
- static const char * VERSION = "0.3.6 " ;
13
+ static const char * VERSION = "0.3.7 " ;
14
14
static const char * DESCRIPTION = tr ("search your recordings" );
15
15
static const char * MAINMENUENTRY = tr ("search recordings" );
16
16
Original file line number Diff line number Diff line change @@ -374,7 +374,7 @@ eOSState recsearch::cSearchMenu::ProcessKey(eKeys Key)
374
374
{
375
375
if (Interface -> Confirm (tr ("delete shown search template?" ))) {
376
376
cSearches ::Searches .LoadSearches ();
377
- cSearchParameter * p = cSearches ::Searches .Contains (_data );
377
+ cSearchParameter * p = const_cast < cSearchParameter * > ( cSearches ::Searches .Contains (_data ) );
378
378
if (p != NULL ) {
379
379
cSearches ::Searches .Del (p );
380
380
cSearches ::Searches .Save ();
@@ -511,7 +511,7 @@ eOSState recsearch::cMainMenu::ProcessKey(eKeys Key)
511
511
if (item != NULL ) {
512
512
if (Interface -> Confirm (tr ("delete selected search template?" ))) {
513
513
cSearches ::Searches .LoadSearches ();
514
- cSearchParameter * p = cSearches ::Searches .Contains (* (item -> _parameter ));
514
+ cSearchParameter * p = const_cast < cSearchParameter * > ( cSearches ::Searches .Contains (* (item -> _parameter ) ));
515
515
if (p != NULL ) {
516
516
cSearches ::Searches .Del (p );
517
517
cSearches ::Searches .Save ();
Original file line number Diff line number Diff line change @@ -388,11 +388,6 @@ const recsearch::cSearchParameter *recsearch::cSearches::Contains(const cSearchP
388
388
return NULL ;
389
389
}
390
390
391
- recsearch ::cSearchParameter * recsearch ::cSearches ::Contains (const cSearchParameter & Parameter )
392
- {
393
- return const_cast < recsearch ::cSearchParameter * > (Contains (Parameter ));
394
- }
395
-
396
391
const recsearch ::cSearchParameter * recsearch ::cSearches ::GetHotKey (int HotKey ) const
397
392
{
398
393
if (HotKey > 0 ) {
Original file line number Diff line number Diff line change @@ -69,7 +69,6 @@ namespace recsearch
69
69
70
70
void SetFilename (const cString &Filename) { _filename = Filename; };
71
71
const cSearchParameter *Contains (const cSearchParameter &Parameter) const ;
72
- cSearchParameter *Contains (const cSearchParameter &Parameter);
73
72
const cSearchParameter *GetHotKey (int HotKey) const ;
74
73
void GetCategories (cStringList &Categories) const ;
75
74
void GetCatMenus (cList<cNestedItem> *CatMenus) const ;
You can’t perform that action at this time.
0 commit comments