- eConnections holds reference to object
[enigma2.git] / lib / dvb / scan.cpp
index 68121c447dc6e3602ea1df75c53b1de44027b883..5571a810feb7923eee08c0f44f6c83d4587ae0f8 100644 (file)
@@ -369,6 +369,6 @@ RESULT eDVBScan::processSDT(eDVBNamespace dvbnamespace, const ServiceDescription
 
 RESULT eDVBScan::connectEvent(const Slot1<void,int> &event, ePtr<eConnection> &connection)
 {
 
 RESULT eDVBScan::connectEvent(const Slot1<void,int> &event, ePtr<eConnection> &connection)
 {
-       connection = new eConnection(m_event.connect(event));
+       connection = new eConnection(this, m_event.connect(event));
        return 0;
 }
        return 0;
 }