UI cleanup

This commit is contained in:
Pavol Rusnak 2013-01-31 18:12:14 +01:00
parent 1ba8099e8e
commit 3e8f44e5e0
18 changed files with 79 additions and 90 deletions

View file

@ -1,14 +1,12 @@
// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
import QtQuick 1.1
import QtQuick 1.0
Item {
id: page
anchors.fill: parent
property variant username: ""
property variant userdbid: ""
property variant amount: credit_pad.enteredText
property string username: ""
property string userdbid: ""
property string amount: credit_pad.enteredText
Text {
id: item_name
@ -64,7 +62,7 @@ Item {
status_text.setStatus("Unknown barcode", "#ff4444")
return
}
if (acct.acctype == "debt") {
if (acct.acctype === "debt") {
username = acct.name
userdbid = acct.id
} else {