Refactor Entry::truncateHistory().

This allows us to drop Entry::getSize() and EntryAttachments::attachmentsSize()
which have weird semantics.
This commit is contained in:
Felix Geyer
2012-07-20 00:45:34 +02:00
parent 0c1fecfb2b
commit ef579cbe3c
4 changed files with 16 additions and 27 deletions

View File

@@ -105,7 +105,6 @@ public:
void setNotes(const QString& notes);
void setExpires(const bool& value);
void setExpiryTime(const QDateTime& dateTime);
int getSize(QList<QByteArray>* foundAttachements);
QList<Entry*> historyItems();
const QList<Entry*>& historyItems() const;