Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Staging:C:DVD
kio-extras5
fix-mtp-paste-with-KF5-5.25.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-mtp-paste-with-KF5-5.25.diff of Package kio-extras5
diff --git a/mtp/kio_mtp.cpp b/mtp/kio_mtp.cpp index 8a9b26e..7003968 100644 --- a/mtp/kio_mtp.cpp +++ b/mtp/kio_mtp.cpp @@ -347,6 +347,14 @@ void MTPSlave::listDir(const QUrl &url) entry.clear(); } + // We also need a writable UDSEntry for "." + KIO::UDSEntry entry; + entry.insert(KIO::UDSEntry::UDS_NAME, QStringLiteral(".")); + entry.insert(KIO::UDSEntry::UDS_FILE_TYPE, S_IFDIR); + entry.insert(KIO::UDSEntry::UDS_SIZE, 0); + entry.insert(KIO::UDSEntry::UDS_ACCESS, S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IWGRP | S_IXGRP | S_IROTH | S_IXOTH); + listEntry(entry); + finished(); qCDebug(LOG_KIO_MTP) << "[SUCCESS] Files";
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor