- connect(selectionModel(), SIGNAL(currentChanged(QModelIndex, QModelIndex)), SIGNAL(selectionUpdated()));
- connect(selectionModel(), SIGNAL(selectionChanged(QItemSelection, QItemSelection)), SIGNAL(selectionUpdated()));
+ connect(selectionModel(), &QItemSelectionModel::currentChanged, this, &NickView::selectionUpdated);
+ connect(selectionModel(), &QItemSelectionModel::selectionChanged, this, &NickView::selectionUpdated);