summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CheckoutFlickable.ui.qml20
1 files changed, 6 insertions, 14 deletions
diff --git a/CheckoutFlickable.ui.qml b/CheckoutFlickable.ui.qml
index 2d5a47a..c6227d7 100644
--- a/CheckoutFlickable.ui.qml
+++ b/CheckoutFlickable.ui.qml
@@ -257,20 +257,12 @@ Flickable {
ComboBox {
font.pixelSize: 15
- model: ListModel {
- ListElement {
- text: "Please choose one"
- }
- ListElement {
- text: "Bank of America"
- }
- ListElement {
- text: "Bank of India"
- }
- ListElement {
- text: "Bank of London"
- }
- }
+ model: [
+ qsTr("Please choose one"),
+ qsTr("Bank of America"),
+ qsTr("Bank of India"),
+ qsTr("Bank of London")
+ ]
delegate: ItemDelegate {
contentItem: Text {
text: modelData