aboutsummaryrefslogtreecommitdiffstats
path: root/src/archive_parser.cpp
diff options
context:
space:
mode:
authorConfuSomu2023-04-06 16:28:55 -0400
committerConfuSomu2023-04-06 16:28:55 -0400
commitd3d14e07c202f9350f817802777720ded85e4248 (patch)
treea2ce10432e09fb2bec52c4f675c369b92204a5c9 /src/archive_parser.cpp
parent75a48db1459d4c386b867ae6536ff481adf34f1f (diff)
downloadActorViewer-d3d14e07c202f9350f817802777720ded85e4248.tar
ActorViewer-d3d14e07c202f9350f817802777720ded85e4248.tar.gz
ActorViewer-d3d14e07c202f9350f817802777720ded85e4248.zip
Rename ListItem class to StatusListItem
The new class name is more descriptive about how it is used.
Diffstat (limited to 'src/archive_parser.cpp')
-rw-r--r--src/archive_parser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/archive_parser.cpp b/src/archive_parser.cpp
index 60278bc..e4e9ed0 100644
--- a/src/archive_parser.cpp
+++ b/src/archive_parser.cpp
@@ -149,10 +149,10 @@ void Archive::update_status_list(ViewStatusTypes allowed_types, QListWidget *par
QTextDocument strip_html;
strip_html.setHtml(activity.value("content").toString());
- ListItem *item = new ListItem(strip_html.toPlainText(), status_type, has_attachment, this, parent, i);
+ StatusListItem *item = new StatusListItem(strip_html.toPlainText(), status_type, has_attachment, this, parent, i);
}
} else if (activity_type == "Announce" and obj["object"].isString()) {
- ListItem *item = new ListItem(activity_type, REBLOG, false, this, parent, i);
+ StatusListItem *item = new StatusListItem(activity_type, REBLOG, false, this, parent, i);
}
}
next_item: