summaryrefslogtreecommitdiffstats
path: root/archivetreeview.h
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2010-07-31 11:05:59 +0200
committerArno <am@disconnect.de>2010-07-31 11:05:59 +0200
commit6d3b28f9b12964b161b5a7ac0038435cfdd6e27b (patch)
tree59d49ee1ab59b53bb762135d70759350f4b44159 /archivetreeview.h
parent066cc53c2506fb7f7cb7b3b0d888243df611cacd (diff)
downloadSheMov-6d3b28f9b12964b161b5a7ac0038435cfdd6e27b.tar.gz
SheMov-6d3b28f9b12964b161b5a7ac0038435cfdd6e27b.tar.bz2
SheMov-6d3b28f9b12964b161b5a7ac0038435cfdd6e27b.zip
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.
Diffstat (limited to 'archivetreeview.h')
-rw-r--r--archivetreeview.h1
1 files changed, 1 insertions, 0 deletions
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);