Changeset View
Changeset View
Standalone View
Standalone View
src/core-impl/collections/playdarcollection/PlaydarCollection.cpp
Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Line(s) | 50 | { | |||
---|---|---|---|---|---|
52 | delete m_collection.data(); | 52 | delete m_collection.data(); | ||
53 | delete m_controller; | 53 | delete m_controller; | ||
54 | } | 54 | } | ||
55 | 55 | | |||
56 | void | 56 | void | ||
57 | PlaydarCollectionFactory::init() | 57 | PlaydarCollectionFactory::init() | ||
58 | { | 58 | { | ||
59 | DEBUG_BLOCK | 59 | DEBUG_BLOCK | ||
60 | m_controller = new Playdar::Controller( this ); | 60 | m_controller = new Playdar::Controller; | ||
61 | connect( m_controller, &Playdar::Controller::playdarReady, | 61 | connect( m_controller, &Playdar::Controller::playdarReady, | ||
62 | this, &PlaydarCollectionFactory::playdarReady ); | 62 | this, &PlaydarCollectionFactory::playdarReady ); | ||
63 | connect( m_controller, &Playdar::Controller::playdarError, | 63 | connect( m_controller, &Playdar::Controller::playdarError, | ||
64 | this, &PlaydarCollectionFactory::slotPlaydarError ); | 64 | this, &PlaydarCollectionFactory::slotPlaydarError ); | ||
65 | checkStatus(); | 65 | checkStatus(); | ||
66 | 66 | | |||
67 | m_collection = new PlaydarCollection; | 67 | m_collection = new PlaydarCollection; | ||
68 | connect( m_collection, &PlaydarCollection::remove, this, &PlaydarCollectionFactory::collectionRemoved ); | 68 | connect( m_collection, &PlaydarCollection::remove, this, &PlaydarCollectionFactory::collectionRemoved ); | ||
▲ Show 20 Lines • Show All 305 Lines • Show Last 20 Lines |