mirror of
https://github.com/brmlab/brmbar.git
synced 2025-06-08 21:33:59 +02:00
UI cleanup
This commit is contained in:
parent
1ba8099e8e
commit
3e8f44e5e0
18 changed files with 79 additions and 90 deletions
|
@ -1,13 +1,12 @@
|
|||
// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
|
||||
import QtQuick 1.1
|
||||
|
||||
Item {
|
||||
id: page
|
||||
anchors.fill: parent
|
||||
|
||||
property variant name: ""
|
||||
property variant dbid: ""
|
||||
property variant negbalance: ""
|
||||
property string name: ""
|
||||
property string dbid: ""
|
||||
property string negbalance: ""
|
||||
|
||||
Text {
|
||||
id: item_name
|
||||
|
@ -43,7 +42,7 @@ Item {
|
|||
status_text.setStatus("Unknown barcode", "#ff4444")
|
||||
return
|
||||
}
|
||||
if (acct.acctype == "recharge") {
|
||||
if (acct.acctype === "recharge") {
|
||||
loadPage("ChargeCredit", { "username": name, "userdbid": dbid, "amount": acct.amount })
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue