From 0e1e44409e8cc225210f3e22f6deb18d62ee8298 Mon Sep 17 00:00:00 2001 From: Arno Date: Thu, 28 Dec 2017 13:24:30 +0100 Subject: 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. --- shemov.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'shemov.cpp') 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(); -- cgit v1.2.3-70-g09d2