DeclarativeWidgets
DeclarativeWidgets copied to clipboard
Rework Pixmap/Icon into singleton loaders
This commit removes DeclarativeIcon and DeclarativePixmap in favor of singleton loader types, as discussed in #16
In my tests I was a little surprised to see each Icon.fromTheme(...)
invocation instantiate a new QObject (DeclarativeIconAttached instance). It looks like turning it into a singleton would be a great idea. Any reason this wasn't reviewed?