radioapp/radiouiengine/src/radiouiengine_p.cpp
changeset 57 21be958eb3ce
parent 34 bc10a61bd7d3
--- a/radioapp/radiouiengine/src/radiouiengine_p.cpp	Tue Oct 12 11:25:14 2010 +0300
+++ b/radioapp/radiouiengine/src/radiouiengine_p.cpp	Fri Oct 15 16:26:27 2010 +0300
@@ -39,6 +39,7 @@
 #include "radiostationhandlerif.h"
 #include "radiocontrolservice.h"
 #include "radiomonitorservice.h"
+#include "radiotimerpool.h"
 #include "radioservicedef.h"
 #include "radiologger.h"
 
@@ -46,8 +47,7 @@
  *
  */
 RadioUiEnginePrivate::RadioUiEnginePrivate( RadioUiEngine* engine ) :
-    q_ptr( engine ),
-    mPowerOffTimer( NULL )
+    q_ptr( engine )
 {
 }
 
@@ -79,6 +79,8 @@
  */
 bool RadioUiEnginePrivate::init()
 {
+    mTimerPool.reset( new RadioTimerPool() );
+
     mControlService.reset( new RadioControlService( *q_ptr ) );
     mMonitorService.reset( new RadioMonitorService( *this ) );
     mStationModel.reset( new RadioStationModel( *this ) );