Remove unused code

This commit is contained in:
molan-git 2020-01-24 22:03:51 +01:00 committed by GitHub
parent 6f57aaeba4
commit 901de00b03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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] === "#") {