From a6f689586a1c7f939493c4122466146ac57ad6e6 Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 17 Dec 2011 09:26:11 +0100 Subject: Added refresh to DbAnalyzerDialog Well, right now the queries are cheap, so don't bother with removing items from the model and just repopulate it completely. --- dbanalyzer.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'dbanalyzer.h') diff --git a/dbanalyzer.h b/dbanalyzer.h index 1e47742..4b693e0 100644 --- a/dbanalyzer.h +++ b/dbanalyzer.h @@ -29,6 +29,9 @@ class DbAnalyzerDialog : public QDialog { enum DeleteMode { Actors, Genres }; explicit DbAnalyzerDialog(QWidget *parent = 0, Qt::WindowFlags f = 0); + public slots: + void refresh(); + signals: void partClicked(int seriesPartId, int seriesId); void delItems(int mode, QList &ids); @@ -53,6 +56,7 @@ class DbAnalyzerDialog : public QDialog { QPushButton *mClose; QPushButton *mCancel; QPushButton *mDelete; + QPushButton *mRefresh; DbAnalyzer *mAnalyzer; }; -- cgit v1.2.3-70-g09d2