Remove unused code
This commit is contained in:
parent
6f57aaeba4
commit
901de00b03
1 changed files with 3 additions and 5 deletions
|
@ -4,7 +4,6 @@ import QtGraphicalEffects 1.0
|
||||||
|
|
||||||
BackgroundItem {
|
BackgroundItem {
|
||||||
signal send (string notice)
|
signal send (string notice)
|
||||||
|
|
||||||
id: delegate
|
id: delegate
|
||||||
//property string text: "0"
|
//property string text: "0"
|
||||||
width: parent.width
|
width: parent.width
|
||||||
|
@ -149,10 +148,9 @@ BackgroundItem {
|
||||||
console.log(link)
|
console.log(link)
|
||||||
if (link[0] === "@") {
|
if (link[0] === "@") {
|
||||||
pageStack.push(Qt.resolvedUrl("../Profile.qml"), {
|
pageStack.push(Qt.resolvedUrl("../Profile.qml"), {
|
||||||
"display_name": account_display_name,
|
"name": "",
|
||||||
"username": account_username,
|
"username": link.substring(1),
|
||||||
"user_id": model.account_id,
|
"profileImage": ""
|
||||||
"profileImage": account_avatar
|
|
||||||
})
|
})
|
||||||
} else if (link[0] === "#") {
|
} else if (link[0] === "#") {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue