diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc index 5531410a..c2812458 100644 --- a/src/FbTk/Menu.cc +++ b/src/FbTk/Menu.cc @@ -1200,10 +1200,7 @@ void Menu::closeMenu() { } void Menu::startHide() { - timeval timeout; - timeout.tv_sec = 0; - timeout.tv_usec = theme()->getDelay() * 1000; // transformed to usec - m_hide_timer.setTimeout(timeout); + m_hide_timer.setTimeout(theme()->getDelay() * 1000); m_hide_timer.start(); }