// Called by the GUI monitor (a timer in the gui module that is called // every 100 milliseconds). void FilterWorker::onMonitoringTick() { scoped_lock lock(m_mutex); if (m_alertWindow) m_alertWindow->setProgress(m_pos); if (m_done || m_abort) m_alertWindow->closeWindow(NULL); }