mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 10:22:49 +00:00
kioslave: use dot as UDS_NAME for the root entry in network slave
for consistency Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
214426808a
commit
032fbe8217
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ void NetworkSlave::stat(const KUrl &url)
|
|||
if (urlpath.isEmpty() || urlpath == QLatin1String("/")) {
|
||||
// fake the root entry, whenever listed it will list all services
|
||||
KIO::UDSEntry kioudsentry;
|
||||
kioudsentry.insert(KIO::UDSEntry::UDS_NAME, "root");
|
||||
kioudsentry.insert(KIO::UDSEntry::UDS_NAME, ".");
|
||||
kioudsentry.insert(KIO::UDSEntry::UDS_FILE_TYPE, S_IFDIR);
|
||||
kioudsentry.insert(KIO::UDSEntry::UDS_ACCESS, S_IRWXU | S_IRWXG | S_IRWXO);
|
||||
kioudsentry.insert(KIO::UDSEntry::UDS_MIME_TYPE, "inode/directory");
|
||||
|
|
Loading…
Add table
Reference in a new issue