Commit d4fbc424 authored by Karel Slaný's avatar Karel Slaný

Try to display ZFO file in QML.

parent 6b5eee9a
......@@ -280,6 +280,21 @@ ApplicationWindow {
}
}
}
Connections {
target: interactionZfoFile
onDisplayZfoFileContent: {
/*
* The app should be locked from within C++ code when PIN is
* enabled.
*/
console.log("Showing zfo file: " + filePath)
if (files.openZfoFileFromStorage(filePath)) {
mainStack.push(pageZfoMessageDetail, {
"pageView": mainStack,
}, StackView.Immediate)
}
}
}
/* Android back button. */
focus: true
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment