You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The StyleEngine has some legacy code for supporting the old version 1.0 stylePath and styleName properties. When using the styleSheetSource property as a replacement, the availableStyles property is not working anymore.
Looking into the code this is obvious. mStylesDir is only set in setStylePath, but should of course be set from setStyleSheetSource, too. And btw, for the same reason stylePath seems to be equally "broken". styleName() is actually re-implemented in terms of mStyleSheetSourceUrl, but not stylePath.
Whatever. I think it's not worth trying to fix this. We should really drop 1.0-1.2 support soon.
The text was updated successfully, but these errors were encountered:
The StyleEngine has some legacy code for supporting the old version 1.0
stylePath
andstyleName
properties. When using thestyleSheetSource
property as a replacement, theavailableStyles
property is not working anymore.Looking into the code this is obvious.
mStylesDir
is only set insetStylePath
, but should of course be set fromsetStyleSheetSource
, too. And btw, for the same reasonstylePath
seems to be equally "broken".styleName()
is actually re-implemented in terms ofmStyleSheetSourceUrl
, but notstylePath
.Whatever. I think it's not worth trying to fix this. We should really drop 1.0-1.2 support soon.
The text was updated successfully, but these errors were encountered: