aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/ImageControl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/ImageControl.cc')
-rw-r--r--src/FbTk/ImageControl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/ImageControl.cc b/src/FbTk/ImageControl.cc
index fe6fde0..c99ef9a 100644
--- a/src/FbTk/ImageControl.cc
+++ b/src/FbTk/ImageControl.cc
@@ -188,7 +188,7 @@ ImageControl::ImageControl(int screen_num,
188 cache_max = cmax; 188 cache_max = cmax;
189 189
190 if (cache_timeout && s_timed_cache) { 190 if (cache_timeout && s_timed_cache) {
191 m_timer.setTimeout(cache_timeout); 191 m_timer.setTimeout(cache_timeout * FbTk::FbTime::IN_MILLISECONDS);
192 RefCount<Command<void> > clean_cache(new SimpleCommand<ImageControl>(*this, &ImageControl::cleanCache)); 192 RefCount<Command<void> > clean_cache(new SimpleCommand<ImageControl>(*this, &ImageControl::cleanCache));
193 m_timer.setCommand(clean_cache); 193 m_timer.setCommand(clean_cache);
194 m_timer.start(); 194 m_timer.start();