~bfiller/gallery-app/silo-17-fixes

« back to all changes in this revision

Viewing changes to src/gallery-manager.cpp

Wait until the media monitor has completed its consistency checks before connecting to the content hub. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
246
246
                     this, SLOT(onMediaItemAdded(QString)));
247
247
    QObject::connect(m_monitor, SIGNAL(mediaItemRemoved(qint64)),
248
248
                     this, SLOT(onMediaItemRemoved(qint64)));
 
249
    QObject::connect(m_monitor, SIGNAL(consistencyCheckFinished()),
 
250
                     this, SIGNAL(consistencyCheckFinished()));
249
251
 
250
252
    m_monitor->startMonitoring(m_resource->mediaDirectories());
251
253
    m_monitor->checkConsistency(m_mediaCollection);