Coding style fixes.

This commit is contained in:
Felix Geyer committed 2012-06-30 00:22:07 +02:00
1 parent ca13ad8d25
commit ee3bc89a54
9 files changed
+22 -11

No files matched your search

+4 -2
View File
@@ -344,7 +344,8 @@ void Entry::setExpiryTime(const QDateTime& dateTime)
}
}
int Entry::getSize(QList<QByteArray>* foundAttachements) {
int Entry::getSize(QList<QByteArray>* foundAttachements)
{
return attributes()->attributesSize() + attachments()->attachmentsSize(foundAttachements);
}
@@ -382,7 +383,8 @@ void Entry::removeHistoryItems(QList<Entry*> historyEntries)
}
}
void Entry::truncateHistory() {
void Entry::truncateHistory()
{
const Database* db = database();
if (!db) {