https://bugs.kde.org/show_bug.cgi?id=477039

Albert Astals Cid <aa...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/fram |https://invent.kde.org/fram
                   |eworks/kio/-/commit/01a9c8c |eworks/kio/-/commit/9d69638
                   |06dec7d748ed964c9e2f2c4091f |746703ee2f59d3d5e986edfb172
                   |9c125a                      |960bb6

--- Comment #9 from Albert Astals Cid <aa...@kde.org> ---
Git commit 9d69638746703ee2f59d3d5e986edfb172960bb6 by Albert Astals Cid, on
behalf of Kevin Ottens.
Committed on 25/01/2024 at 22:23.
Pushed by aacid into branch 'kf5'.

KDirModel: Consider invalid roots are local fs

If the item set on a node (typically the root node) was null it was
implicitly considered local fs. But if the item was not null and the
url invalid, it'd be considered network fs.

In the context of KDirModel caching of the fs type guessing this would
mean we'd wrongly assume the whole tree is network fs even if it's not.

That's why we change this to consider non-null items with invalid URLs
as local fs.
(cherry picked from commit 01a9c8c06dec7d748ed964c9e2f2c4091f9c125a)

M  +5    -1    src/widgets/kdirmodel.cpp

https://invent.kde.org/frameworks/kio/-/commit/9d69638746703ee2f59d3d5e986edfb172960bb6

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to