summaryrefslogtreecommitdiffstats
path: root/archivecontroller.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'archivecontroller.cpp')
-rw-r--r--archivecontroller.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/archivecontroller.cpp b/archivecontroller.cpp
index a7d0501..5638119 100644
--- a/archivecontroller.cpp
+++ b/archivecontroller.cpp
@@ -232,6 +232,13 @@ void ArchiveController::readConfig(){
mGenreIcon = SmGlobals::instance()->iconFor("genre");
}
+void ArchiveController::moveFilesToSeriespart(const QStringList &md5Sums, int newSeriesPart){
+ foreach(QString md5, md5Sums){
+ mArchiveFilesModel->updateSeriesPartForFile(md5, newSeriesPart);
+ }
+ mArchiveFilesModel->refresh();
+}
+
void ArchiveController::treeSelectionChanged(const QItemSelection &selected, const QItemSelection &deselected){
Q_UNUSED(selected);
Q_UNUSED(deselected);