| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
When searching for actors, show a MoviePropertiesDialog instead of
expanding the item.
|
| |
|
|
|
|
| |
Get all genres for the current actor and add them as child.
|
| |
|
|
|
|
|
| |
Add Actor and Title search. This commit only makes visual changes and
moves some code around. The search itself is not implemented yet.
|
| |
|
| |
|
| |
|
|
|
|
| |
The compiler told me that the interface is deprecated.
|
|
|
|
|
|
|
|
| |
The expression matching is the same as in ShemovCleaner, but here we
have a lot more levels of indirection. The guessing is done
automatically when archiveMovie is invoked. If the directory contains a
file descript.ion, it is parsed and the result injected into the
MetadataEditorWidget.
|
|
|
|
| |
Set it to 9999. While at it, remove some dead code and fix includes.
|
|
|
|
|
| |
Default value is 0 (not SQL NULL, but zero) if none is given. Shouldn't
hurt.
|
|
|
|
|
|
| |
It's not as easy as it sounds, since a transaction is kaputt after a
failed query. To overcome that that, introduce 2 savepoints. One before
adding the seriespart, and one before the metadata. Works like a charm!
|
|
|
|
|
|
| |
Don't resize the image unconditionally. When doing that while keeping
the aspect ratio, it may grow wider than the window/widget size. So
check if it fits. If it doesn't scale down, otherwise leave it.
|
|
|
|
|
| |
Remove unnecessary libs for linking. Update to ImageMagick++7 and fix
includepath for MSYS2 builds.
|
|
|
|
|
|
|
| |
It depended on X11, because the hover center wasn't where it was
supposed to be, so I worked around it with Xfixes.h, which unfortunately
isn't even available in MSYS2. So another fix for compiling this under
Windows.
|
|
|
|
|
|
| |
Didn't work any more, and prevents it to build even under MSYS2
(windows), since xcb.h is not available. Next, kill the configuration
options.
|
|
|
|
|
| |
ffmpeg returns a float in duration. QVariant::toInt() can't parse it (any
more?), so use toFloat() and static_cast it to int.
|
| |
|
|
|
|
|
| |
One more step to make it compile with Windows. And once again, it makes
the code much neater and more readable.
|
|
|
|
|
| |
Use Qt instead of Posix to make it compile with Windows. Actually, this
made the code easier, too.
|
|
|
|
|
| |
Mostly nullptr, one missing include that wasn't really missed, and a
stray ;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix focus policy: only change focus between MappingTreeWidget and
MappingTreeResultView.
Also, block updating the selection of MappingTreeWidget when removing an
item from the result view. That operation resets the result selection
and by signal changes the selection of the mapping tree. The easiest way
I could come up with was a member flag that is set in removeMapping and
checked and cleared in resultSelectionChanged. Clearing the flag right
after removing the item doesn't work, most likely because of thread
affinity (just a guess, didn't check it). If it has side effects remains to
be seen...
|
|
|
|
|
| |
The previous version bailed out wrongly when the file was available, but
on an USB path. Fix it by using the data from the bottom model.
|
|
|
|
|
|
|
|
| |
Well, there is something fishy going on. I have no idea why that commit
is needed there, but during debugging I also noticed that on the final
commit() the database complains that there's no transaction in progress.
Well, this works, but I don't know how to debug this further :(
|
| |
|
| |
|
|
|
|
|
|
| |
Without this the window manager (e.g. KWin) doesn't know about the
change, so Alt+TAB doesn't work as expected. Very annoying, so here's
the fix!
|
| |
|
|
|
|
|
|
| |
If we already have an actor, get all mappings for all pics and fill the
result view. This only makes sense for actors, but should also work for
other items.
|
|
|
|
|
|
| |
Replace QPushButtons with a QToolbar and appropriate unicode symbols.
While at at, return from Helper::fuzzyCheck when the search string is
empty. Prevents false positives.
|
|
|
|
|
| |
Add it to the global menu and make it accessible by CTRL+f when the
focus is on the main window.
|
| |
|
|
|
|
|
| |
While at it: They don't have to be members, so create them on the heap.
Also fix a nullptr warning.
|
|
|
|
|
|
| |
MovieWidget and PictureWidget both have filter bars on top of the left
tree, but the buttons were different. Change it to enhance user
experience :)
|
|
|
|
|
| |
I missed the clear filter icon when adjusting Helper::icon for dark
themes. Fix it and replace the 'X' with something nicer :)
|
|
|
|
|
| |
commit e5274f4c27f847bedaa910a84ed3468d1aba32e1 introduced a double
colon and removed leading zeros. Make snprintf pretty again.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Add icons better suited for dark themes and don't draw an ellipse around
the letter when calling Helper::icon and use the theme's text color to
better match the desktop theme.
Just be a good tenant and respect the user's choices where applicable.
|
| |
|
| |
|
| |
|
|
|
|
| |
And remove nullptr warnings.
|
|
|
|
|
|
| |
Sprinkle some static_casts here and there and fix auto conversions. Also
introduce const ints for what to read for calculating the MD5-Sum of a
file... Seems to work fine.
|
| |
|
|
|
|
|
| |
Don't hide another function and weed out foreach. Also fix nullptr
issues.
|
| |
|
|
|
|
| |
No functional changes.
|
|
|
|
| |
The usual... nullptr warnings, connect syntax.
|