diff options
| author | Tomasz Sterna <tomek@xiaoka.com> | 2015-04-19 17:32:27 +0200 |
|---|---|---|
| committer | Tomasz Sterna <tomek@xiaoka.com> | 2015-04-19 18:29:34 +0200 |
| commit | 8e6f27b0b16c3b9f54dc7423d9a3f0b880304038 (patch) | |
| tree | 14bda052b299197eb4b8e58d7dfba401de3fb2ea /app/qml/pages/Disclaimer.qml | |
| parent | 8bb7a35eedd431f707ca6fb9134c35bace8e4b24 (diff) | |
AboutPage and translation update
Diffstat (limited to 'app/qml/pages/Disclaimer.qml')
| -rw-r--r-- | app/qml/pages/Disclaimer.qml | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/app/qml/pages/Disclaimer.qml b/app/qml/pages/Disclaimer.qml index baf5cd0..57511fd 100644 --- a/app/qml/pages/Disclaimer.qml +++ b/app/qml/pages/Disclaimer.qml @@ -1,10 +1,17 @@ import QtQuick 2.0 import QtQml 2.1 import Sailfish.Silica 1.0 +import org.nemomobile.configuration 1.0 Page { id: page + ConfigurationGroup { + id: settings + path: "/org/pebbled/settings" + property string donationCode: "" + } + SilicaFlickable { id: flickable anchors.fill: parent @@ -54,7 +61,7 @@ Page { right: parent.right margins: Theme.paddingLarge * 2 } - onClicked: Qt.openUrlExternally("mailto:support@xiaoka.com?subject=pebbled code request - "+ + onClicked: Qt.openUrlExternally("mailto:support@pebbled.org?subject=pebbled code request - "+ donate.id + "&body=My paypal id is: ") } Label { @@ -72,7 +79,14 @@ Page { margins: Theme.paddingMedium } focus: true + text: settings.donationCode + onTextChanged: settings.donationCode = text } } } + + Connections { + target: donate + onActiveChanged: if(donate.active) pageStack.pop() + } } |
