[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: QML keysForSource failure.
From: Shaun Reich <predator106 () gmail ! com>
Date: 2011-07-07 0:02:39
Message-ID: CADVynFCRWTD-4GWc-9B=kQ8y_2X5DqX7iH8VgyaTwEs+JzTH2w () mail ! gmail ! com
[Download RAW message or body]
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 query inside the dataengine itself, and it says
it's there :/
--
Shaun Reich,
KDE Software Developer (kde.org)
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic