Changeset View
Changeset View
Standalone View
Standalone View
smb/kio_smb_internal.cpp
Show First 20 Lines • Show All 87 Lines • ▼ Show 20 Line(s) | |||||
88 | 88 | | |||
89 | //----------------------------------------------------------------------- | 89 | //----------------------------------------------------------------------- | ||
90 | void SMBUrl::updateCache() | 90 | void SMBUrl::updateCache() | ||
91 | //----------------------------------------------------------------------- | 91 | //----------------------------------------------------------------------- | ||
92 | { | 92 | { | ||
93 | QUrl::setPath(QDir::cleanPath(path())); | 93 | QUrl::setPath(QDir::cleanPath(path())); | ||
94 | 94 | | |||
95 | // SMB URLs are UTF-8 encoded | 95 | // SMB URLs are UTF-8 encoded | ||
96 | qCDebug(KIO_SMB) << "updateCache " << QUrl::path(); | 96 | qCDebug(KIO_SMB_LOG) << "updateCache " << QUrl::path(); | ||
97 | 97 | | |||
98 | if ( QUrl::url() == "smb:/" ) | 98 | if ( QUrl::url() == "smb:/" ) | ||
99 | m_surl = "smb://"; | 99 | m_surl = "smb://"; | ||
100 | else | 100 | else | ||
101 | m_surl = toString(QUrl::PrettyDecoded).toUtf8(); | 101 | m_surl = toString(QUrl::PrettyDecoded).toUtf8(); | ||
102 | 102 | | |||
103 | m_type = SMBURLTYPE_UNKNOWN; | 103 | m_type = SMBURLTYPE_UNKNOWN; | ||
104 | // update m_type | 104 | // update m_type | ||
▲ Show 20 Lines • Show All 46 Lines • Show Last 20 Lines |