Skip to content
Commit 653d5714 authored by Méven Car's avatar Méven Car Committed by Nate Graham
Browse files

Tabs: ensure to have folder icons for remote folders

KIO::iconForUrl relies on filename to find the icon for remote files.
Appending / at the end of the filename allows it to interpret it as
a folder.

This causes inconsistent tab icons.

To reproduce:

Open in a tab a url on a smb or sftp folder, i.e sftp:/my-server/photos

Before:
Icon is a cloud.

After:
Icon is a folder

Previously a folder icon could be presented if the tab was first opened
with a url with a trailing /
parent b712c9fc
Pipeline #77390 passed with stage
in 4 minutes and 53 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment