Changeset View
Changeset View
Standalone View
Standalone View
smb/kio_smb_browse.cpp
Show First 20 Lines • Show All 416 Lines • ▼ Show 20 Line(s) | 413 | } else if (dirp->smbc_type == SMBC_FILE || dirp->smbc_type == SMBC_DIR) { | |||
---|---|---|---|---|---|
417 | if (statErr) { | 417 | if (statErr) { | ||
418 | if (statErr == ENOENT || statErr == ENOTDIR) { | 418 | if (statErr == ENOENT || statErr == ENOTDIR) { | ||
419 | reportWarning(m_current_url, statErr); | 419 | reportWarning(m_current_url, statErr); | ||
420 | } | 420 | } | ||
421 | } else { | 421 | } else { | ||
422 | // Call base class to list entry | 422 | // Call base class to list entry | ||
423 | listEntry(udsentry); | 423 | listEntry(udsentry); | ||
424 | } | 424 | } | ||
425 | m_current_url.cd(".."); | 425 | m_current_url.cdUp(); | ||
426 | } else if (dirp->smbc_type == SMBC_SERVER || dirp->smbc_type == SMBC_FILE_SHARE) { | 426 | } else if (dirp->smbc_type == SMBC_SERVER || dirp->smbc_type == SMBC_FILE_SHARE) { | ||
427 | // Set type | 427 | // Set type | ||
428 | udsentry.fastInsert(KIO::UDSEntry::UDS_FILE_TYPE, S_IFDIR); | 428 | udsentry.fastInsert(KIO::UDSEntry::UDS_FILE_TYPE, S_IFDIR); | ||
429 | 429 | | |||
430 | if (dirp->smbc_type == SMBC_SERVER) { | 430 | if (dirp->smbc_type == SMBC_SERVER) { | ||
431 | udsentry.fastInsert(KIO::UDSEntry::UDS_ACCESS, (S_IRUSR | S_IXUSR | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH)); | 431 | udsentry.fastInsert(KIO::UDSEntry::UDS_ACCESS, (S_IRUSR | S_IXUSR | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH)); | ||
432 | 432 | | |||
433 | // QString workgroup = m_current_url.host().toUpper(); | 433 | // QString workgroup = m_current_url.host().toUpper(); | ||
▲ Show 20 Lines • Show All 198 Lines • Show Last 20 Lines |