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

David Redondo <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |CONFIRMED
          Component|general                     |general
                 CC|                            |[email protected],
                   |                            |[email protected]
           Assignee|[email protected]         |[email protected]
            Product|plasma-integration          |frameworks-kiconthemes
     Ever confirmed|0                           |1

--- Comment #1 from David Redondo <[email protected]> ---
Confirmed the cause is that we loop over all extensions and look into all
directories


QString KIconTheme::iconPathByName(const QString &iconName, int size,
KIconLoader::MatchType match, qreal scale) const
{
    for (const QString &current : std::as_const(d->mExtensions)) {
        const QString path = iconPath(iconName + current, size, match, scale);
        if (!path.isEmpty()) {
            return path;
        }
    }
    return QString();
}

At that point there is no info anymore about how good that match is.

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

Reply via email to