Slight modification to make it use the new config class calling convention
This commit is contained in:
parent
483b8496d6
commit
8857fa2c24
1 changed files with 3 additions and 1 deletions
|
@ -220,7 +220,9 @@ void keytree::setCurrentNodeProps(Action::ActionType action, unsigned int mask,
|
||||||
|
|
||||||
void keytree::initialize(void)
|
void keytree::initialize(void)
|
||||||
{
|
{
|
||||||
int tval = _epist->getConfig()->getNumberValue(Config::chainTimeout);
|
int tval = 0;
|
||||||
|
|
||||||
|
_epist->getConfig()->getNumberValue(Config::chainTimeout, tval);
|
||||||
_timer = new BTimer(_epist, this);
|
_timer = new BTimer(_epist, this);
|
||||||
|
|
||||||
if (tval <= 0)
|
if (tval <= 0)
|
||||||
|
|
Loading…
Reference in a new issue