diff --git a/kcm/kcm.cpp b/kcm/kcm.cpp index 78c897b61..daaac3a14 100644 --- a/kcm/kcm.cpp +++ b/kcm/kcm.cpp @@ -73,8 +73,6 @@ KdeConnectKcm::KdeConnectKcm(QWidget *parent, const QVariantList&) this, SLOT(unpair())); connect(kcmUi->ping_button, SIGNAL(pressed()), this, SLOT(sendPing())); - connect(kcmUi->browse_button, SIGNAL(clicked(bool)), - this, SLOT(browseFilesystem())); } @@ -253,9 +251,3 @@ void KdeConnectKcm::sendPing() if (!currentDevice) return; currentDevice->sendPing(); } - -void KdeConnectKcm::browseFilesystem() -{ - if (!currentDevice) return; - SftpDbusInterface(currentDevice->id(), this).startBrowsing(); -} diff --git a/kcm/kcm.h b/kcm/kcm.h index 950460d58..072c544bc 100644 --- a/kcm/kcm.h +++ b/kcm/kcm.h @@ -58,7 +58,6 @@ private Q_SLOTS: void requestPair(); void pluginsConfigChanged(); void sendPing(); - void browseFilesystem(); void resetSelection(); void pairingSuccesful(); void pairingFailed(const QString& error); diff --git a/kcm/kcm.ui b/kcm/kcm.ui index 8177ffa19..a92d283f8 100644 --- a/kcm/kcm.ui +++ b/kcm/kcm.ui @@ -169,13 +169,6 @@ - - - - Browse - - -