Commit 50d14bd1 authored by Armin Felder's avatar Armin Felder
Browse files

Merge branch 'master' into fixMessageInsert

parents df69e2bd f2535a54
Pipeline #758 passed with stage
in 1 minute and 54 seconds
No preview for this file type
No preview for this file type
......@@ -182,8 +182,9 @@ ApplicationWindow {
}
}
onClosing: {
Print.log(Qt.platform.os);
if (Qt.platform.os !== "linux" && Qt.platform.os !== "windows"
&& Qt.platform.os !== "macOS") {
&& Qt.platform.os !== "osx") {
Print.log(close)
Print.log(mainStack.depth)
if (mainStack.depth <= 2) {
......
......@@ -245,7 +245,7 @@ Item {
}
onPressed: {
if (Qt.platform.os == "linux"|| Qt.platform.os == "windows") {
if (Qt.platform.os == "linux"|| Qt.platform.os == "windows"||Qt.platform.os == "osx") {
fileDialog.open()
} else if(Qt.platform.os == "ios"){
console.log("ios picker called")
......
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