Comment 0 for bug 1543059

Revision history for this message
Michael Weimann (m982) wrote :

When I add a gallery widget like this (image uris are just examples):

var images = new scopes.lib.PreviewWidget("images", "gallery");
images.add_attribute_value("sources",
    [
        'http://.../img1.png',
        'http://.../img2.png'
    ]
);

I get this error on console:
file:///usr/share/unity8//Dash/Previews/PreviewImageGallery.qml:131:25: Unable to assign QJSValue to QUrl
file:///usr/share/unity8//Dash/Previews/PreviewImageGallery.qml:62:21: Unable to assign QJSValue to QUrl

The images are not displayed.

Using the ubuntu-sdk-15.04.4 framework.