From 901de00b0375911cb1a867f301bca5f54a16b676 Mon Sep 17 00:00:00 2001 From: molan-git <59296158+molan-git@users.noreply.github.com> Date: Fri, 24 Jan 2020 22:03:51 +0100 Subject: [PATCH] Remove unused code --- qml/pages/components/Toot.qml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/qml/pages/components/Toot.qml b/qml/pages/components/Toot.qml index 3c01f03..05d235c 100644 --- a/qml/pages/components/Toot.qml +++ b/qml/pages/components/Toot.qml @@ -4,7 +4,6 @@ import QtGraphicalEffects 1.0 BackgroundItem { signal send (string notice) - id: delegate //property string text: "0" width: parent.width @@ -149,10 +148,9 @@ BackgroundItem { console.log(link) if (link[0] === "@") { pageStack.push(Qt.resolvedUrl("../Profile.qml"), { - "display_name": account_display_name, - "username": account_username, - "user_id": model.account_id, - "profileImage": account_avatar + "name": "", + "username": link.substring(1), + "profileImage": "" }) } else if (link[0] === "#") {