Re: QML keysForSource failure.

2011-07-07 Thread Marco Martin
On Thursday 07 July 2011, Shaun Reich wrote: > I'm using the following code: > > model : PlasmaCore.DataModel { > dataSource: mainEngineSource.keysForSource["name"] > } > > Yet I keep receiving: > > main.qml:100: Unable to assign [undefined] to QObject* dataSource > > I thought perhaps this

QML keysForSource failure.

2011-07-06 Thread Shaun Reich
I'm using the following code: model : PlasmaCore.DataModel { dataSource: mainEngineSource.keysForSource["name"] } Yet I keep receiving: main.qml:100: Unable to assign [undefined] to QObject* dataSource I thought perhaps this meant that there -was- no datasource by that string. But I did a q