mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
kioslave: ftp line parsing optimization
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
6b75a23901
commit
31b4f47a7d
1 changed files with 2 additions and 2 deletions
|
@ -1265,8 +1265,8 @@ QList<KIO::UDSEntry> CurlProtocol::udsEntries()
|
|||
kioudsentry.insert(KIO::UDSEntry::UDS_FILE_TYPE, stdmode & S_IFMT);
|
||||
kioudsentry.insert(KIO::UDSEntry::UDS_ACCESS, stdmode & 07777);
|
||||
kioudsentry.insert(KIO::UDSEntry::UDS_SIZE, ftpsize);
|
||||
kioudsentry.insert(KIO::UDSEntry::UDS_USER, QString::fromLatin1(ftpowner));
|
||||
kioudsentry.insert(KIO::UDSEntry::UDS_GROUP, QString::fromLatin1(ftpgroup));
|
||||
kioudsentry.insert(KIO::UDSEntry::UDS_USER, QString::fromLatin1(ftpowner.constData(), ftpowner.size()));
|
||||
kioudsentry.insert(KIO::UDSEntry::UDS_GROUP, QString::fromLatin1(ftpgroup.constData(), ftpgroup.size()));
|
||||
kioudsentry.insert(KIO::UDSEntry::UDS_MODIFICATION_TIME, ftpmodtime);
|
||||
if (!ftplinkpath.isEmpty()) {
|
||||
// link paths to current path causes KIO to do strange things
|
||||
|
|
Loading…
Add table
Reference in a new issue