addTimeOffset is now static
authorFelix Domke <tmbinc@elitedvb.net>
Tue, 15 Nov 2005 23:14:24 +0000 (23:14 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Tue, 15 Nov 2005 23:14:24 +0000 (23:14 +0000)
lib/dvb/dvbtime.cpp

index 97a5953..14e0b92 100644 (file)
@@ -329,9 +329,7 @@ void eDVBLocalTimeHandler::updateTime( time_t tp_time, eDVBChannel *chan )
                        gettimeofday(&tnow,0);
                        tnow.tv_sec=t;
                        settimeofday(&tnow,0);
                        gettimeofday(&tnow,0);
                        tnow.tv_sec=t;
                        settimeofday(&tnow,0);
-                       for (ePtrList<eMainloop>::iterator it(eMainloop::existing_loops)
-                               ;it != eMainloop::existing_loops.end(); ++it)
-                               it->addTimeOffset(m_time_difference);
+                       eMainloop::addTimeOffset(m_time_difference);
                        m_time_difference=0;
                }
 
                        m_time_difference=0;
                }