Truncate history of all items when history limits are changed.

This commit is contained in:
Florian Geyer 2012-05-13 19:43:01 +02:00
parent 8cd5b1f582
commit 459cf051bf
2 changed files with 19 additions and 2 deletions

View file

@ -55,6 +55,7 @@ public:
void setCurrentIndex(int index);
DatabaseWidget::Mode currentMode();
Q_SIGNALS:
void closeRequest();
void currentModeChanged(DatabaseWidget::Mode mode);
@ -90,6 +91,8 @@ private:
Entry* m_newEntry;
Group* m_newParent;
QLineEdit* m_searchEdit;
void truncateHistories();
};
#endif // KEEPASSX_DATABASEWIDGET_H