summaryrefslogtreecommitdiffstats
path: root/origindialog.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Modernize OriginDialogArno2018-02-011-5/+5
| | | | | | | Use type safe connect syntax and remove one Q_FOREACH makro. Make the reject button a non-member, but keep the OK button. I thought about gettring rid of the latter, too, but deactivating OK when no match is the most sensible way to go...
* Replace RE match in OriginDialog with LIKEArno2016-12-191-2/+4
| | | | | | Unfortunately there is no Postgres equivalent for \Q \E, so the query didn't work with filenames containing e.g. () or []. Use LIKE instead and see when that comes back to haunt me :)
* New feature: Add OriginArno2016-11-101-0/+166
Since SheMov now displays origin files (i.e. source files for a reencode), add an option here to add origin files for already archived movies. We guess the archived movie from the filename by cutting off the extension and look it up in the files table. If we find an archived movie with that filename, mark the source blue. Deactive "Add" if we don't find one or if we already have an origin.