diff options
| author | Frank Reininghaus <[email protected]> | 2012-01-25 21:30:57 +0100 |
|---|---|---|
| committer | Frank Reininghaus <[email protected]> | 2012-01-25 21:35:00 +0100 |
| commit | c7d6f43a947c791c05726f6bf699fe0caf328d25 (patch) | |
| tree | b3b549395e3a16f723ec256203e96b3c03941f74 /src/views/dolphinview.cpp | |
| parent | 14d5a32475ef646e51f6750a80f216020b648039 (diff) | |
Handle folder names containing spaces correctly in the Folders Panel
The problem was that KFileItemModel::setExpanded() used KUrl::url()
to determine the names of the subfolders. This method encodes special
characters, such that comparing the folder names with the unencoded URLs
stored in the model fails.
Using KUrl::path(), which does not encode special characters, fixes the
problem.
CCBUG: 291781
FIXED-IN: 4.8.1
(cherry picked from commit 80d9bfec580bf01b0ee584fc4bb46e3d59a0ba7c)
Diffstat (limited to 'src/views/dolphinview.cpp')
0 files changed, 0 insertions, 0 deletions
