diff options
| author | Emmanuel Pescosta <[email protected]> | 2013-06-26 22:04:52 +0200 |
|---|---|---|
| committer | Emmanuel Pescosta <[email protected]> | 2013-06-26 22:04:52 +0200 |
| commit | 391d36edf78d07caa4116b6af0687d1f192bc82d (patch) | |
| tree | 69d47bb49f4c1ddbe626acaf069dda38dc518611 /src/kitemviews/kfileitemmodel.h | |
| parent | 1634501b0ed91f19999cf4f880bf2d7585469b11 (diff) | |
Re-enable expandable folders for network top level folders (remote:/)
Added a hash table for target url to url mapping. So when the dir lister
sends us the target url as directory url, we can use the url mapping table
to get the right "Dolphin internal" directory url, which is the non-target url.
BUG: 306219
FIXED-IN: 4.11.0
REVIEW: 111252
Diffstat (limited to 'src/kitemviews/kfileitemmodel.h')
| -rw-r--r-- | src/kitemviews/kfileitemmodel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kitemviews/kfileitemmodel.h b/src/kitemviews/kfileitemmodel.h index 1d2d8c172..5917e6818 100644 --- a/src/kitemviews/kfileitemmodel.h +++ b/src/kitemviews/kfileitemmodel.h @@ -466,8 +466,8 @@ private: // Cache for KFileItemModel::groups() mutable QList<QPair<int, QVariant> > m_groups; - // Stores the URLs of the expanded directories. - QSet<KUrl> m_expandedDirs; + // Stores the URLs (key: target url, value: url) of the expanded directories. + QHash<KUrl, KUrl> m_expandedDirs; // URLs that must be expanded. The expanding is initially triggered in setExpanded() // and done step after step in slotCompleted(). |
