| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Create edit and context menus.
|
|
|
|
|
| |
Finally do something with the random selection!
Implement playAll and playSelected.
|
|
|
|
| |
RotzPeng! He who doeth not find the button of his choice is not worthy!
|
|
|
|
|
| |
Fixing selection behavior should have been a separate commit, but
well... Set it to ExtendedSelection and SelectRows.
|
|
|
|
| |
Fill the random file view with movies.
|
|
|
|
| |
Log what we're doing in a QTextEdit below the FileView.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Also fix handling of next picture.
|
|
|
|
|
|
| |
Make archiving various pictures easier. When NewPicsDialog is calles
with a directory, the Next> button archives the current pic and selects
the next.
|
| |
|
|
|
|
|
| |
Update free space when we get an inotify event that changes disk space,
or when refresh is called.
|
|
|
|
| |
... in new movie wizard...
|
|
|
|
| |
Next: make it available in new movies dialog.
|
|
|
|
| |
Upadate -> Update
|
|
|
|
|
|
|
| |
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!
|
|
|
|
| |
Select torrent and set current year on first invocation.
|
|
|
|
| |
Only show it when called from the wizard.
|
|
|
|
|
| |
Save InfoPage data on reject and accept, fill the fields on next
invocation, execpt files.
|
|
|
|
| |
Compile tested only, so it may or may not work.
|
|
|
|
|
|
| |
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...
|
|
|
|
|
|
|
|
|
|
|
|
| |
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...
|
|
|
|
|
| |
Actually use valid. Return when we get something else than an image.
Otherwise we'd crash in ImageMagick::ping.
|
| |
|
|
|
|
| |
Never did anything, and we'll know soon enough.
|
|
|
|
| |
At least try to reconnect to the database after resume.
|
|
|
|
| |
Replace \d files selected with \d/\d files.
|
|
|
|
|
| |
If we stare at a picture that is already in the archive, display the
archived data in the file property dialog.
|
|
|
|
|
|
|
|
| |
and replace them with write/readSettings. It was a useless feature
anyway, don't even remember what it was good for.
Also fix another bug in MappingTreeResultModel: Clear mCurrentData too,
when clearData is called.
|
|
|
|
|
| |
Also fix a long standing bug in MappingTreeModel: also remove item from
mCurrentData when the removed item is a parent of one of the items.
|
|
|
|
|
| |
Well, everything besides the selected selection... That needs some more
work.
|
|
|
|
| |
Show actual size of selected files.
|
|
|
|
|
| |
Well, sanitize the sliding madness. Replace it by a dialog and just one
timer. Seems to work so far...
|
|
|
|
| |
Well, implement functionality. Seems to work as intended.
|
|
|
|
| |
Does nothing yet, just the dialog...
|
|
|
|
|
| |
Seems to be more random.
Also, this commit introduces c++11, yay!
|
|
|
|
|
| |
If the actor already exists, select it and exit, otherwise create and
select it.
|
|
|
|
|
| |
Long standing, never noticed bug:
The queries for files_origin were prepared, but never executed!
|
| |
|
|
|
|
|
|
| |
ArchiveBrowser will be empty once the database is updated and the
sources are deleted if the size filter is still in effect. So uncheck it
once we're done.
|
|
|
|
| |
Update free space widget after deleting files from CopyWorker.
|
|
|
|
| |
in both the context menu and the view menu.
|
|
|
|
|
|
|
|
| |
I connected the CopyWorker SIGNALS to the ArchiveBrowser SLOTS on every
copy. Of course that made the success dialogs pop up as many times as
there were copy operations.
Fix it by moving the connect call into the constructor.
|
|
|
|
|
| |
If USB-Storage is mounted and available, search it for already archived
movies. If found, play it.
|
|
|
|
|
|
| |
Make it work. Lessons learned:
Don't keep a QProgressDialog around. Use it and delete it later.
Otherwise it will show up spontaneously.
|