The loop in slotRowsInserted was using the 'first' parameter instead
of the loop variable 'i', causing only the first index to be connected
multiple times.
void PlacesPanel::slotRowsInserted(const QModelIndex &parent, int first, int last)
{
for (int i = first; i <= last; ++i) {
void PlacesPanel::slotRowsInserted(const QModelIndex &parent, int first, int last)
{
for (int i = first; i <= last; ++i) {
- connectDeviceSignals(model()->index(first, 0, parent));
+ connectDeviceSignals(model()->index(i, 0, parent));