aboutsummaryrefslogtreecommitdiff
path: root/src/Slit.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Slit.cc')
-rw-r--r--src/Slit.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Slit.cc b/src/Slit.cc
index 02eb877..738a81a 100644
--- a/src/Slit.cc
+++ b/src/Slit.cc
@@ -279,7 +279,7 @@ Slit::Slit(BScreen &scr, FbTk::Layer &layer, const char *filename)
279 // move the frame out of sight for a moment 279 // move the frame out of sight for a moment
280 frame.window.move(-frame.window.width(), -frame.window.height()); 280 frame.window.move(-frame.window.width(), -frame.window.height());
281 // setup timer 281 // setup timer
282 m_timer.setTimeout(200); // default timeout 282 m_timer.setTimeout(200L * FbTk::FbTime::IN_MILLISECONDS); // default timeout
283 m_timer.fireOnce(true); 283 m_timer.fireOnce(true);
284 FbTk::RefCount<FbTk::Command<void> > toggle_hidden(new FbTk::SimpleCommand<Slit>(*this, &Slit::toggleHidden)); 284 FbTk::RefCount<FbTk::Command<void> > toggle_hidden(new FbTk::SimpleCommand<Slit>(*this, &Slit::toggleHidden));
285 m_timer.setCommand(toggle_hidden); 285 m_timer.setCommand(toggle_hidden);