Hi,<br><br><div class="gmail_quote">On Mon, Dec 5, 2011 at 12:50 AM, Guillaume DE BURE <span dir="ltr"><<a href="mailto:guillaume.debure@gmail.com">guillaume.debure@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
file:///.../main.qml:36: Unable to assign [undefined] to QString text<br>
<br>
That would indicate that there is no source connected, right ? So what did I<br>
do wrong ?<br></blockquote><div><br></div><div>The DataSource has no property called "count". Hence [undefined]. You can</div><div>have a look at the API here:</div><div><a href="http://techbase.kde.org/Development/Tutorials/Plasma/QML/API#DataSource">http://techbase.kde.org/Development/Tutorials/Plasma/QML/API#DataSource</a></div>
<div><br></div><div>Also, since you've already declared connectedSources in the DataSource, you</div><div>don't need to redo it inside Component.onCompleted ;)</div><div><br></div><div>Cheers,</div><div>Viranch</div>
<div><br></div></div>