Remove the browse filesystem button from KCM

This commit is contained in:
Albert Vaca 2014-04-05 20:04:35 +02:00
parent d5928197b2
commit 4dcbb3531a
3 changed files with 0 additions and 16 deletions

View file

@ -73,8 +73,6 @@ KdeConnectKcm::KdeConnectKcm(QWidget *parent, const QVariantList&)
this, SLOT(unpair())); this, SLOT(unpair()));
connect(kcmUi->ping_button, SIGNAL(pressed()), connect(kcmUi->ping_button, SIGNAL(pressed()),
this, SLOT(sendPing())); this, SLOT(sendPing()));
connect(kcmUi->browse_button, SIGNAL(clicked(bool)),
this, SLOT(browseFilesystem()));
} }
@ -253,9 +251,3 @@ void KdeConnectKcm::sendPing()
if (!currentDevice) return; if (!currentDevice) return;
currentDevice->sendPing(); currentDevice->sendPing();
} }
void KdeConnectKcm::browseFilesystem()
{
if (!currentDevice) return;
SftpDbusInterface(currentDevice->id(), this).startBrowsing();
}

View file

@ -58,7 +58,6 @@ private Q_SLOTS:
void requestPair(); void requestPair();
void pluginsConfigChanged(); void pluginsConfigChanged();
void sendPing(); void sendPing();
void browseFilesystem();
void resetSelection(); void resetSelection();
void pairingSuccesful(); void pairingSuccesful();
void pairingFailed(const QString& error); void pairingFailed(const QString& error);

View file

@ -169,13 +169,6 @@
</property> </property>
</widget> </widget>
</item> </item>
<item>
<widget class="QPushButton" name="browse_button">
<property name="text">
<string>Browse</string>
</property>
</widget>
</item>
</layout> </layout>
</widget> </widget>
</item> </item>