mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
CHintBox: move showTimeOutBar() to protected, add params to enableTimeOutBar()
Explicit call of disableTimeOutBar() after exec() is required to ensure we have no timebar opened objects. I'm not shure, but otherwise crashs could be possible. showTimeOutBar() is required for OnTimer(). It doesn't need any parameter.
This commit is contained in:
@@ -223,7 +223,7 @@ int CMsgBox::exec()
|
||||
uint64_t timeoutEnd = CRCInput::calcTimeoutEnd(timeout);
|
||||
|
||||
if (timeout > 0)
|
||||
showTimeOutBar();
|
||||
enableTimeOutBar();
|
||||
|
||||
bool loop = true;
|
||||
while (loop)
|
||||
|
Reference in New Issue
Block a user