aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/Menu.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/Menu.cc')
-rw-r--r--src/FbTk/Menu.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc
index 5531410..c281245 100644
--- a/src/FbTk/Menu.cc
+++ b/src/FbTk/Menu.cc
@@ -1200,10 +1200,7 @@ void Menu::closeMenu() {
1200} 1200}
1201 1201
1202void Menu::startHide() { 1202void Menu::startHide() {
1203 timeval timeout; 1203 m_hide_timer.setTimeout(theme()->getDelay() * 1000);
1204 timeout.tv_sec = 0;
1205 timeout.tv_usec = theme()->getDelay() * 1000; // transformed to usec
1206 m_hide_timer.setTimeout(timeout);
1207 m_hide_timer.start(); 1204 m_hide_timer.start();
1208} 1205}
1209 1206