Fix incorrect results when applying some timing operations to
[dcpomatic.git] / src / wx / content_view.cc
index 4db00fb540de766e7a9c7ea289c7d3212b96ba70..1cdfbc00f8f4fb49d95a9594330404195d34695d 100644 (file)
@@ -39,6 +39,7 @@ using boost::shared_ptr;
 using boost::weak_ptr;
 using boost::optional;
 using boost::dynamic_pointer_cast;
+using namespace dcpomatic;
 
 ContentView::ContentView (wxWindow* parent)
        : wxListCtrl (parent, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT | wxLC_NO_HEADER)
@@ -108,7 +109,7 @@ ContentView::update ()
                        }
                        return;
                }
-               dcpomatic_sleep (1);
+               dcpomatic_sleep_seconds (1);
        }
 
        /* Add content from successful jobs and report errors */