summaryrefslogtreecommitdiffstats
path: root/archiveview.cpp
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2020-07-19 12:12:10 +0200
committerArno <arno@disconnect.de>2020-07-19 12:12:10 +0200
commitff672bb48ecd0f0aa6884628a0ceeac5b50a75a8 (patch)
tree3b93da494bd181e6a42e373d06677f1401ef3a77 /archiveview.cpp
parentd6c44146adfd534548c985bd7299f94f66e57acd (diff)
downloadSheMov-ff672bb48ecd0f0aa6884628a0ceeac5b50a75a8.tar.gz
SheMov-ff672bb48ecd0f0aa6884628a0ceeac5b50a75a8.tar.bz2
SheMov-ff672bb48ecd0f0aa6884628a0ceeac5b50a75a8.zip
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.
Diffstat (limited to 'archiveview.cpp')
-rw-r--r--archiveview.cpp4
1 files changed, 4 insertions, 0 deletions
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;