# HG changeset patch
# User unc0rr
# Date 1424115195 -10800
# Node ID 1ff3dd3705b1b7eda03d114a11b7184bb6cbb29e
# Parent  efb861d1489ecf7763b7da794b5995d8d561f8f2
Introducing cbAmmo

diff -r efb861d1489e -r 1ff3dd3705b1 qmlFrontend/qml/qmlFrontend/GameConfig.qml
--- a/qmlFrontend/qml/qmlFrontend/GameConfig.qml	Mon Feb 09 00:37:59 2015 +0300
+++ b/qmlFrontend/qml/qmlFrontend/GameConfig.qml	Mon Feb 16 22:33:15 2015 +0300
@@ -134,6 +134,38 @@
     }
 
 
+    HWComboBox {
+        id: cbAmmo
+        x: 50
+        y: 416
+        width: 256
+        height: 64
+
+        model: ammoModel
+        delegate: Rectangle {
+            height: 25
+            width: 100
+            color: "transparent"
+
+            property string itemIconSource: ""
+            property alias itemText: ammoName.text
+
+            Row {
+                //Image {id: themeIcon; width: height; height: parent.height; source: "image://theme/" + modelData}
+                Text {id: ammoName; text: modelData }
+            }
+
+            MouseArea {
+                 z: 1
+                 anchors.fill: parent
+                 onClicked: {
+                     cbAmmo.currentIndex = index
+                     HWEngine.setAmmo(ammoName.text)
+                 }
+            }
+        }
+    }
+
     ListView {
         id: playingTeamsList
         x: 440