diff --git a/kcm/kcm.cpp b/kcm/kcm.cpp index e053aca03..7a72f749e 100644 --- a/kcm/kcm.cpp +++ b/kcm/kcm.cpp @@ -75,7 +75,7 @@ KdeConnectKcm::KdeConnectKcm(QWidget *parent, const QVariantList&) connect(devicesModel, SIGNAL(dataChanged(QModelIndex,QModelIndex)), this, SLOT(resetSelection())); - connect(kcmUi->deviceList, SIGNAL(pressed(QModelIndex)), + connect(kcmUi->deviceList->selectionModel(), SIGNAL(currentChanged(QModelIndex,QModelIndex)), this, SLOT(deviceSelected(QModelIndex))); connect(kcmUi->pair_button, SIGNAL(clicked()), this, SLOT(requestPair()));