Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/qml/pages/CameraUI.qml b/qml/pages/CameraUI.qml
- index b6a5537..c9a7972 100644
- --- a/qml/pages/CameraUI.qml
- +++ b/qml/pages/CameraUI.qml
- @@ -7,6 +7,7 @@ import QtQuick.Layouts 1.0
- import uk.co.piggz.harbour_advanced_camera 1.0
- import Nemo.Configuration 1.0
- import "../components/"
- +import org.nemomobile.dbus 2.0
- Page {
- id: page
- @@ -649,6 +650,14 @@ Page {
- }
- }
- + DBusInterface {
- + id: jollaGallery
- +
- + service: 'com.jolla.gallery'
- + iface: 'com.jolla.gallery.ui'
- + path: '/com/jolla/gallery/ui'
- + }
- +
- RoundButton {
- id: btnGallery
- @@ -666,7 +675,9 @@ Page {
- image: "image://theme/icon-m-image"
- onClicked: {
- - pageStack.push(Qt.resolvedUrl("GalleryUI.qml"), { "photoList": modelData })
- + //pageStack.push(Qt.resolvedUrl("GalleryUI.qml"), { "photoList": modelData })
- + jollaGallery.call('showImages', modelData)
- + //jollaGallery.call('openFile', modelData.get(modelData.count - 1).photoPath)
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement