kdeconnect-kde/plugins/sftp
Erik Duisters 4834b63537 Just set UDSEntry::UDS_NAME to the actual directory name instead of the hardcoded string "folder" and don't set UDSEntry::UDS_DISPLAY_NAME at all
Summary: There is no reason to set UDSEntry::UDS_NAME to "folder" and then override it with UDSEntry::UDS_DISPLAY_NAME

Test Plan:
Apply patch, click android device in dolphin's Devices list
Verify phones sdcards are listed as befor

Reviewers: #kde_connect, albertvaka

Reviewed By: #kde_connect, albertvaka

Subscribers: albertvaka, kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D18223
2019-01-16 14:56:24 +01:00
..
CMakeLists.txt Clean-up requirements: cmake 3.0, qt 5.7, use min versions, deduplicate KF5 2018-03-17 23:34:33 +01:00
config-sftp.h.cmake Add support for the normal 'umount' porgram. 2017-09-05 22:25:01 +02:00
kdeconnect_sftp.json SVN_SILENT made messages (.desktop file) - always resolve ours 2018-11-21 05:40:27 +01:00
mounter.cpp Spelling corrections in kde-connect sftp plugin 2018-09-13 16:56:00 +02:00
mounter.h Spelling corrections in kde-connect sftp plugin 2018-09-13 16:56:00 +02:00
mountloop.cpp Incorrect Q_EMIT syntax 2018-11-06 23:29:39 +01:00
mountloop.h Move the plugins into a different top-ĺevel directory 2014-06-14 16:34:11 +02:00
README Spelling corrections in kde-connect sftp plugin 2018-09-13 16:56:00 +02:00
sftp_debug.h Fix various krazy2 warnings 2015-08-21 22:38:54 +06:00
sftpplugin.cpp Just set UDSEntry::UDS_NAME to the actual directory name instead of the hardcoded string "folder" and don't set UDSEntry::UDS_DISPLAY_NAME at all 2019-01-16 14:56:24 +01:00
sftpplugin.h Fix minor EBN issues and typos 2018-10-07 21:23:20 +03:00

This plugin receives packages with type "kdeconnect.sftp" and reads the
following fields:

  ip (string): ip of the currently active network on device
  port (string): port where sftp server starts
  user (string): username to connect to sftp server
  password (string): one session password to access sftp server
  path (string): root directory to access device filesystem

This plugin sends packages with type "kdeconnect.sftp" and fills the
following fields:

  startBrowsing (boolean): tell device to start sftp server and notify desktop