Commit 20947295 authored by Pekka Vuorela's avatar Pekka Vuorela

Use var properties instead of obsolete variant

parent d9596bcc
......@@ -23,9 +23,9 @@ Item {
id: keyboard
property int keyModifiers
property variant resetSticky: 0
property variant currentStickyPressed: null
property variant currentKeyPressed: 0
property var resetSticky: 0
property var currentStickyPressed: null
property var currentKeyPressed: 0
property string keyFgColor: "#ffffff"
property string keyBgColor: "#202020"
......@@ -59,10 +59,11 @@ Item {
spacing: keyboard.keyspacing
Repeater {
id: colRepeater
property int rowIndex: index
model: keyLoader.vkbColumns()
delegate: Key {
property variant keydata: keyLoader.keyAt(colRepeater.rowIndex, index)
property var keydata: keyLoader.keyAt(colRepeater.rowIndex, index)
label: keydata[0]
code: keydata[1]
label_alt: keydata[2]
......
......@@ -22,7 +22,7 @@ import QtQuick 2.0
PopupWindow {
id: layoutWindow
property variant layouts: [""]
property var layouts: [""]
Component {
id: listDelegate
......
......@@ -23,7 +23,7 @@ import FingerTerm 1.0
Rectangle {
id: lineView
property variant lines: [""]
property var lines: [""]
property int fontPointSize: util.fontSize
property int cursorX: 1
property int cursorWidth: 10
......
......@@ -22,7 +22,7 @@ import QtQuick 2.0
PopupWindow {
id: urlWindow
property variant urls: [""]
property var urls: [""]
Component {
id: listDelegate
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment