Skip to content

Commit

Permalink
Remove this-> pointers
Browse files Browse the repository at this point in the history
  • Loading branch information
droidmonkey committed Jun 16, 2024
1 parent 8339c3c commit 07e1faa
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/core/Entry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -438,11 +438,11 @@ QString Entry::attribute(const QString& key) const
int Entry::size() const
{
int size = 0;
size += this->attributes()->attributesSize();
size += this->autoTypeAssociations()->associationsSize();
size += this->attachments()->attachmentsSize();
size += this->customData()->dataSize();
for (const QString& tag : this->tags().split(TagDelimiterRegex, QString::SkipEmptyParts)) {
size += attributes()->attributesSize();
size += autoTypeAssociations()->associationsSize();
size += attachments()->attachmentsSize();
size += customData()->dataSize();
for (const QString& tag : tags().split(TagDelimiterRegex, QString::SkipEmptyParts)) {
size += tag.toUtf8().size();
}

Expand Down

0 comments on commit 07e1faa

Please # to comment.