summaryrefslogtreecommitdiff
path: root/CheckoutFlickable.ui.qml
diff options
context:
space:
mode:
Diffstat (limited to 'CheckoutFlickable.ui.qml')
-rw-r--r--CheckoutFlickable.ui.qml20
1 files changed, 14 insertions, 6 deletions
diff --git a/CheckoutFlickable.ui.qml b/CheckoutFlickable.ui.qml
index 5789f88..66d6099 100644
--- a/CheckoutFlickable.ui.qml
+++ b/CheckoutFlickable.ui.qml
@@ -259,12 +259,20 @@ Flickable {
ComboBox {
id: banks
font.pixelSize: 15
- model: [
- qsTr("Please choose one"),
- qsTr("Bank of America"),
- qsTr("Bank of India"),
- qsTr("Bank of London")
- ]
+ model: ListModel {
+ ListElement {
+ text: "Please choose one"
+ }
+ ListElement {
+ text: "Bank of America"
+ }
+ ListElement {
+ text: "Bank of India"
+ }
+ ListElement {
+ text: "Bank of London"
+ }
+ }
delegate: ItemDelegate {
contentItem: Text {
text: modelData