From ff672bb48ecd0f0aa6884628a0ceeac5b50a75a8 Mon Sep 17 00:00:00 2001 From: Arno Date: Sun, 19 Jul 2020 12:12:10 +0200 Subject: Guess subject from descript.ion file The expression matching is the same as in ShemovCleaner, but here we have a lot more levels of indirection. The guessing is done automatically when archiveMovie is invoked. If the directory contains a file descript.ion, it is parsed and the result injected into the MetadataEditorWidget. --- archiveview.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'archiveview.cpp') diff --git a/archiveview.cpp b/archiveview.cpp index d665da2..a494231 100644 --- a/archiveview.cpp +++ b/archiveview.cpp @@ -240,6 +240,10 @@ void MetadataEditorWidget::addToComment(const QString &reason){ mComment->append(reason); } +void MetadataEditorWidget::replaceSubject(const QString &subject){ + mSubject->setText(subject); +} + /* Metadata Editor */ MetadataEditor::MetadataEditor(QWidget *parent, Qt::WindowFlags f) : QDialog(parent, f){ mWidget = new MetadataEditorWidget; -- cgit v1.2.3-70-g09d2