From 98b2ad9c66fd149880a813440915f981a9804c92 Mon Sep 17 00:00:00 2001 From: DavidLazarescu Date: Sun, 11 Feb 2024 15:42:49 +0100 Subject: [PATCH] Added functionality to button --- src/presentation/homePage/MHomePage.qml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/presentation/homePage/MHomePage.qml b/src/presentation/homePage/MHomePage.qml index d03c8cbf7..4c5e50aaf 100644 --- a/src/presentation/homePage/MHomePage.qml +++ b/src/presentation/homePage/MHomePage.qml @@ -636,13 +636,16 @@ Page { visible: false title: qsTr("Limit Reached") message: qsTr("You have reached your upload limit.\nDelete unused books to free up space or upgrade.") - leftButtonText: qsTr("Ok") - rightButtonText: qsTr("Upgrade") + leftButtonText: qsTr("Upgrade") + rightButtonText: qsTr("Cancel") messageBottomSpacing: 16 minButtonWidth: 180 onOpenedChanged: if (opened) uploadLimitReachedPopup.giveFocus() onDecisionMade: close() + + onLeftButtonClicked: Qt.openUrlExternally( + AppInfoController.website + "/pricing") } MWarningPopup {