=== modified file 'plugins/Dash/CardCreator.js'
--- plugins/Dash/CardCreator.js 2016-03-21 16:06:10 +0000
+++ plugins/Dash/CardCreator.js 2016-03-22 10:51:17 +0000
@@ -459,6 +459,7 @@
var isAudio = template["quick-preview-type"] === "audio";
var asynchronous = isCardTool ? "false" : "true";
+if (!isCardTool) code +='onTitleChanged: console.log("UCD inside card", JSON.stringify(cardData)); \n';
code += 'signal action(var actionId);\n';
if (isAudio) {
// For now we only support audio cards with [optional] art, title, subtitle
@@ -940,6 +941,7 @@
import Utils 0.1;\n';
var card = cardString(template, components, isCardTool);
var code = imports + 'Component {\n' + card + '}\n';
+ if (!isCardTool) console.log(code)
try {
return Qt.createQmlObject(code, parent, identifier);