From 1007fb6f68e93cf7cac2ff016541a1f0fed4688f Mon Sep 17 00:00:00 2001 From: Mathieu Pellerin Date: Sun, 19 Jan 2025 13:08:51 +0700 Subject: [PATCH] Oups, re-add pre-commit hook --- src/qml/About.qml | 3 +-- src/qml/DashBoard.qml | 4 ++-- src/qml/qgismobileapp.qml | 6 +++--- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/qml/About.qml b/src/qml/About.qml index c876c36838..7c8e5c84c2 100644 --- a/src/qml/About.qml +++ b/src/qml/About.qml @@ -47,8 +47,7 @@ Item { id: information spacing: 6 width: aboutPanel.width - 40 - height: Math.max(mainWindow.height - sponsorshipButton.height - linksButton.height - qfieldAppDirectoryLabel.height - aboutContainer.spacing * 3 - aboutContainer.anchors.topMargin - aboutContainer.anchors.bottomMargin - 10, - qfieldPart.height + opengisPart.height + spacing) + height: Math.max(mainWindow.height - sponsorshipButton.height - linksButton.height - qfieldAppDirectoryLabel.height - aboutContainer.spacing * 3 - aboutContainer.anchors.topMargin - aboutContainer.anchors.bottomMargin - 10, qfieldPart.height + opengisPart.height + spacing) ColumnLayout { id: qfieldPart diff --git a/src/qml/DashBoard.qml b/src/qml/DashBoard.qml index 33b4701b20..6ff9eb52ce 100644 --- a/src/qml/DashBoard.qml +++ b/src/qml/DashBoard.qml @@ -229,8 +229,8 @@ Drawer { iconColor: Theme.mainOverlayColor bgcolor: "transparent" onClicked: { - let p = mapToItem(mainWindow.contentItem, width, 0); - showMainMenu(p) + let p = mapToItem(mainWindow.contentItem, width, 0); + showMainMenu(p); } } } diff --git a/src/qml/qgismobileapp.qml b/src/qml/qgismobileapp.qml index 470bec1ca7..eaa974d012 100644 --- a/src/qml/qgismobileapp.qml +++ b/src/qml/qgismobileapp.qml @@ -2324,12 +2324,12 @@ ApplicationWindow { } onShowMainMenu: p => { - mainMenu.popup(p.x- mainMenu.width - 2, p.y - 2) + mainMenu.popup(p.x - mainMenu.width - 2, p.y - 2); } onShowCloudPopup: { - dashBoard.close(); - qfieldCloudPopup.show() + dashBoard.close(); + qfieldCloudPopup.show(); } onToggleMeasurementTool: {