From 6d3b28f9b12964b161b5a7ac0038435cfdd6e27b Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 31 Jul 2010 11:05:59 +0200 Subject: Added database maintenance code Implemented a function in MappingTableModel to remove all actors/genres with no references in the according mapping table. Available through the "File" menu. --- archivetreeview.h | 1 + 1 file changed, 1 insertion(+) (limited to 'archivetreeview.h') diff --git a/archivetreeview.h b/archivetreeview.h index 24ef2f8..9ea2604 100644 --- a/archivetreeview.h +++ b/archivetreeview.h @@ -35,6 +35,7 @@ class ArchiveTreeView : public QWidget public slots: void setFileViewMode(int mode); + void cleanDatabase(const QString &table); private slots: void currentChanged(const QItemSelection &selected, const QItemSelection &deselected); -- cgit v1.2.3-70-g09d2