broulik added a comment.

  What's super weird about this one is that `QIcon::fromTheme` internally 
actually does
  
    if (QDir::isAbsolutePath(name)) {
        return QIcon(name);
    }
  
  yet only with this patch I get an icon for `.svg` icons with an absolute path 
I configured. Maybe `icon.availableSizes()` is empty for svg images and thus 
the previously used fallback argument of `fromTheme` is always chosen.

REPOSITORY
  R119 Plasma Desktop

REVISION DETAIL
  https://phabricator.kde.org/D5109

To: broulik, #plasma, hein
Cc: plasma-devel, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, 
sebas, apol

Reply via email to