summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Rip out copy path optionsArno2017-12-272-20/+0
| | | | | | | | | Honestly, I have no idea what it was good for once. The class/file using it is long gone, but I forgot to remove the configuration options. Unfortunately my git-foo isn't good enough to figure out what happened when. Well, goodbye!
* Clean up archivebrowser.cppArno2017-12-271-21/+21
| | | | | | * replace qSort * replace Q_FOREACH * use type-safe connect syntax
* Clean up archivecontroller.cppArno2017-12-271-17/+18
| | | | | | * remove deprecation warnings (QModelIndex::child) * replace Q_FOREACH * use type-safe connect syntax
* Clean up archivemodel.cppArno2017-12-271-14/+14
| | | | | | * remove deprecation warning: use std::sort * use c++-for instead of Q_FOREACH * make one remaining connect type-safe
* Modernize mappingtreewidget.cppArno2017-12-271-31/+32
| | | | | | * get rid of QModelIndex::child deprecation warnings * replace Q_FOREACH * use type-safe connect syntax
* Get rid of deprecation warning in mappingtreemodel.cppArno2017-12-271-3/+3
| | | | Use std::sort instead of qSort and replace Q_FOREACH.
* Remove deprecation warning and Q_FOREACHArno2017-12-271-2/+2
| | | | | Use QImage::sizeInBytes instead of QImage::byteCount as suggested by documentation.
* Clean up newmoviewizard.cppArno2017-12-271-7/+7
| | | | | * remove one deprecation warning about QModelIndex::child * use c++-style for-loops instead of Q_FOREACH
* Clean up SmGlobalsArno2017-12-271-11/+2
| | | | | * remove a bunch of uncessary #includes * remove a deprecation warning: use std::sort instead of qSort
* Modernize mappingtablemodel.cppArno2017-12-271-5/+5
| | | | | * use std::sort instead of deprecated qSort * use c++ style for-loop instead of Q_FOREACH
* Change deprecated QModelIndex::childArno2017-12-271-1/+1
| | | | Deprecation warning suggests to use QAbstractItemModel::index, so do it.
* Turn on deprecation warningsArno2017-12-271-0/+1
|
* Add clear button for comment in metadataArno2017-12-271-3/+6
| | | | | Also use SLOT activated instead of currentChanged for the reasons QCombobox so the text is inserted even if the selection didn't change.
* Clean up consistencycheck.cppArno2017-12-261-24/+24
| | | | | | * headers * get rid of foreach * use type safe connect syntax
* Get rid of QSignalMapper in consistencycheck.cppArno2017-12-261-11/+4
| | | | It's obsolete. Same as before!
* Get rid of colorMapperArno2017-12-261-19/+8
| | | | Another QSignalMapper gone...
* Get rid of collectorMapperArno2017-12-261-13/+5
|
* Get rid of PVAddMapper QSignalMapperArno2017-12-262-8/+2
| | | | | | | One has to ask what it is good for now, maybe totally useless after revamping the slide dialog, but that's for another commit... This also eliminates QSignalMapper from shemov.{h,cpp}
* Get rid of copyCutMapperArno2017-12-261-6/+2
|
* Get rid of the headerMapper QSignalMapperArno2017-12-262-14/+8
| | | | | | | This one was a bit harder, because I made a function return the QSignalMapper, but I could reuse it with a signature change. Just provide the view, too, so we can make the connection inside the function, which now returns void.
* Get rid of QSignalMapper mOpenTimesFSMapperArno2017-12-262-5/+1
| | | | and replace it with a lambda.
* Get rid of QSignalMapper mOpenWithMapperFSArno2017-12-262-21/+4
| | | | Replace it with a lambda as SLOT, as stated in the QT documentation.
* Get rid of c++11Arno2017-12-261-2/+1
| | | | Not needed any more...
* Fix consistency checkArno2017-08-122-16/+8
| | | | | | | | | | | Actually, removing stray pictures never worked, because the call to that function was commented out. Also, remove the clear functions stray files and stray ids and lock the mutex in place. They were only called once, so we can do it inside the function. And don't forget to clear the picture Ids. Finally, fix the logic for activating the cleanup button.
* Fix one crash and compile issuesArno2017-07-204-5/+14
| | | | | | | | | | | | Don't access FileName in constructWindowTitle when we don't have a file at mCurPos. That's what crashed us randomly! Also (yes, I know, should be a separate commit) fix warnings about implicit fallthru's in switch statements. The one in SmDirModel actually was a bug, the one in tabChanged is just a nuisance. Also (again), shuffle header inclusion in SmGlobals so Xlib and QT don't clash.
* Play movie on doublelClick in RandomTabArno2016-11-112-0/+10
|
* Hook up Actions for RandomTabArno2016-11-114-5/+88
| | | | Create edit and context menus.
* Actually play movies!Arno2016-11-112-1/+29
| | | | | Finally do something with the random selection! Implement playAll and playSelected.
* Implement GUI elements for playing moviesArno2016-11-112-0/+23
| | | | RotzPeng! He who doeth not find the button of his choice is not worthy!
* Read and write settings / SelectionBehaviorArno2016-11-112-0/+44
| | | | | Fixing selection behavior should have been a separate commit, but well... Set it to ExtendedSelection and SelectRows.
* Energize!Arno2016-11-112-6/+172
| | | | Fill the random file view with movies.
* Setup logging facilityArno2016-11-102-5/+33
| | | | Log what we're doing in a QTextEdit below the FileView.
* Add Random file browserArno2016-11-105-2/+227
| | | | | | | | Idea: Select random movies based on a selection of genres and actors in a new tab, so you don't have the agony of choice. This is just the basic layout. The selectors are filled and the buttons are connected, but it doesn't select anything yet.
* Add display of Origin filesArno2016-11-095-4/+20
| | | | | | | Show orgin files as child of archived file in the archive. Sidenote: Adding an origin file in here won't be very useful, since the actual file is elsewhere. That's a job for ShemovCleaner, I guess.
* Kinda fix display of metadataArno2016-11-063-14/+71
| | | | | | | | If a seriespart is selected in the tree, display a summary. When a file is selected, display the actual metadata. It's much more consistent. Before, the metadata of the first *item in the selected list was displayed.
* Revamp Comments and MetadataArno2016-11-064-61/+36
| | | | | | | | Make it a QTextEdit (again?) with HTML content: * A table for metadata * A paragraph for the comment(s) Also add a stretch factor to the containing widget giving it more space.
* Add Delete to NewPicsDialogArno2016-10-162-1/+15
| | | | Also fix handling of next picture.
* Add Next> to NewPicsDialogArno2016-10-165-2/+54
| | | | | | Make archiving various pictures easier. When NewPicsDialog is calles with a directory, the Next> button archives the current pic and selects the next.
* Update about data1.3.0Arno2016-10-012-3/+3
|
* Update free space when event occursArno2016-10-013-0/+5
| | | | | Update free space when we get an inotify event that changes disk space, or when refresh is called.
* Use configured Reencode reasons...Arno2016-10-012-1/+22
| | | | ... in new movie wizard...
* Configure reencode reasonsArno2016-10-014-1/+93
| | | | Next: make it available in new movies dialog.
* Fix typo in ProgramConfiguratorArno2016-10-011-1/+1
| | | | Upadate -> Update
* Implement add tree in SlideDlg + othersArno2016-07-212-0/+40
| | | | | | | Yeah! Finalling getting the hang of recursion, I hope! Add a new Button ">>>>" to add a whole subtree. Not really useful when archiving, but very useful when selecting Slide attributes!
* Set sensible defaults for MetadataEditorWidgetArno2016-05-061-0/+2
| | | | Select torrent and set current year on first invocation.
* Add clear button to NewMovieWizardArno2016-05-063-3/+9
| | | | Only show it when called from the wizard.
* Preserve InfoPage dataArno2016-05-062-7/+32
| | | | | Save InfoPage data on reject and accept, fill the fields on next invocation, execpt files.
* Search ORIGIN also in Goto Archive...Arno2016-05-061-0/+8
| | | | Compile tested only, so it may or may not work.
* Reconnect cloned databasesArno2016-04-022-3/+15
| | | | | | Try to reconnect cloned databases on error, mainly SmDirWatcher and ArchiveCollector. ConsistencyCheck doesn't matter, since it's on the stack. It compiles, but no idea if it actually works...
* Reconnect to database after network failureArno2016-04-021-5/+8
| | | | | | | | | | | | It's more difficult than I thought. It seems you need a failed query until libpq notices that the connection is lost. Implement reconnect at the very bottom of the slide time to get it back as soon as possible. I have no idea though what it does to cloned connections. Also, if no slide show is running, it'll never reconnect. It works when I down the database, maybe create a Helper function for this...