mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +02:00
src/gui/widget/menue_target.h: ensure init of valueStringTmp
This commit is contained in:
@@ -31,7 +31,7 @@ class CMenuTarget
|
||||
std::string *valueString;
|
||||
std::string valueStringTmp;
|
||||
public:
|
||||
CMenuTarget(){ valueString = &valueStringTmp; }
|
||||
CMenuTarget(){ valueStringTmp = std::string(); valueString = &valueStringTmp; }
|
||||
virtual ~CMenuTarget(){}
|
||||
virtual void hide(){}
|
||||
virtual int exec(CMenuTarget* parent, const std::string & actionKey) = 0;
|
||||
|
Reference in New Issue
Block a user