Contacts list is empty in log viewer on my setup. I'm using all ktp packages from Git master. Reproducible: Always If I replace in LogViewer::LogViewer() m_filterModel in the call ui->entityList->setModel(m_filterModel); with m_contactsModel, the contacts are shown. In PersonEntityMergeModel::sourceModelInitialized() initializeMode() is never called, m_initializedSources == 0 at the entering. PersonEntityMergeModel::sourceModelInitialized() is not called second time. If I move initializeModel() call out of if statement, contacts list shows my contacts (well, their IDs), the same if condition is changed to "== 1" instead of "== 2" and I can browse my logs
Git commit f870f907011f6da712853b17c012e670d29a74cb by Dan Vrátil. Committed on 06/12/2013 at 12:39. Pushed by dvratil into branch 'master'. Delay initial call to PersonsModel::onContactsFetched onContactsFetched() emits the modelInitialized() signal, so when it's called directly from constructor, the signal's emitted before anyone can connect to it. M +2 -1 src/personsmodel.cpp http://commits.kde.org/libkpeople/f870f907011f6da712853b17c012e670d29a74cb