https://bugs.kde.org/show_bug.cgi?id=427449
Noah Davis <noaha...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REPORTED |CONFIRMED Ever confirmed|0 |1 CC| |noaha...@gmail.com --- Comment #2 from Noah Davis <noaha...@gmail.com> --- >From my own testing with GammaRay, the problem seems to be that qrc:/ urls are not working with qqc2-desktop-style's StyleItem element. If you use a hard coded path like `/home/<user>/src/RedisDesktopManager/src/resources/images/help.svg`, an icon will show. If you use a theme icon like `go-next`, an icon will show. I believe the problem is at lines 185 and 186 of qqc2-desktop-style/plugin/kquickstyleitem.cpp: 182 │ const QVariant icon = m_properties[QStringLiteral("icon")]; 183 │ if (icon.canConvert<QIcon>()) { 184 │ opt->icon = icon.value<QIcon>(); >185 │ } else if (icon.canConvert<QUrl>() && >icon.value<QUrl>().isLocalFile()) { >186 │ opt->icon = QIcon(icon.value<QUrl>().toLocalFile()); 187 │ } else if (icon.canConvert<QString>()) { 188 │ opt->icon = m_theme->iconFromTheme(icon.value<QString>(), m_properties[QStringLiteral("iconColor")].value<QColor>()); 189 │ } -- You are receiving this mail because: You are watching all bug changes.