summaryrefslogtreecommitdiffstats
path: root/shemov.cpp
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2017-12-28 13:24:30 +0100
committerArno <arno@disconnect.de>2017-12-28 13:24:30 +0100
commit0e1e44409e8cc225210f3e22f6deb18d62ee8298 (patch)
tree7007f454d54e8691d009ce80b3c7c958753eb8fd /shemov.cpp
parentc6c4900e4cf9aa69b2de3c9c5af701800c0c25de (diff)
downloadSheMov-0e1e44409e8cc225210f3e22f6deb18d62ee8298.tar.gz
SheMov-0e1e44409e8cc225210f3e22f6deb18d62ee8298.tar.bz2
SheMov-0e1e44409e8cc225210f3e22f6deb18d62ee8298.zip
Guess if the file was reencoded
It's really simple: If we have a file with the same name, but another extension, add it as FT_ORIGIN to the list.
Diffstat (limited to 'shemov.cpp')
-rw-r--r--shemov.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/shemov.cpp b/shemov.cpp
index 42e6784..82033bf 100644
--- a/shemov.cpp
+++ b/shemov.cpp
@@ -300,6 +300,7 @@ void SheMov::newMovieWizardWithFiles(){
mNewMovieWizard->infoPage()->setCurrentDir(mFSWidget->currentDir());
foreach(QModelIndex sel, selected){
mNewMovieWizard->infoPage()->addFile(sel.data(SmDirModel::FullPathRole).toString());
+ mNewMovieWizard->infoPage()->guessOld(sel.data(SmDirModel::FullPathRole).toString());
}
QSettings s;
bool autoAddCovers = s.value("ui/autoaddcovers", false).toBool();