infobar: rework infobar timeout behavior

Options were sometimes described ambiguously and previous behavior was no longer available.
Now the descriptions should be more plausible for current behavior.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 89770bae19
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-04-10 (Tue, 10 Apr 2018)



------------------
This commit was generated by Migit
This commit is contained in:
2018-04-10 22:30:17 +02:00
committed by vanhofen
parent 346a0cbc7c
commit 5223a302f9
12 changed files with 94 additions and 41 deletions

View File

@@ -136,7 +136,7 @@ int CLuaInstHintbox::HintboxExec(lua_State *L)
neutrino_msg_data_t data;
if ( timeout == -1 )
timeout = 5; /// default timeout 5 sec
//timeout = g_settings.timing[SNeutrinoSettings::TIMING_INFOBAR];
//timeout = g_settings.handling_infobar[SNeutrinoSettings::HANDLING_INFOBAR];
uint64_t timeoutEnd = CRCInput::calcTimeoutEnd(timeout);