| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
While adding new pictures to my collection, I realized that the simple
viewer didn't obey it's size restrictions and grew out of proportions.
So make the maximum size configurable.
|
|
|
|
| |
... instead of the viewer
|
|
|
|
| |
I guess it was bitrotten anyway...
|
|
|
|
|
|
|
|
|
| |
This is a huge commit. Changes:
* Obviously, make it compile
* Make it run (only scarcely tested)
* get rid of most of clang's warnings
Let's see what surprises are in store...
|
|
|
|
|
| |
First, add a QAction to copy the MD5sum from FSWidget to Clipboard. Then
enhance the SearchDialog to support MD5sums from files_origin *only*.
|
|
|
|
|
| |
The filename was never compared to the current index, so everything was
appended to the first match. Fix it by adding the needed comparison.
|
|
|
|
|
|
|
| |
When searching for actors, select the first item in the list and expand
everything. For some strange reason QTreeView::expand or
QTreeView::setExpanded does not work, so I grab the big hammer and
expand all.
|
|
|
|
| |
Don't raise SearchDialog every time MainWindow is clicked.
|
|
|
|
|
|
|
| |
The context menu item is only enabled if the actor has no children, ie.
no genres associated.
Since naming is hard, also rename some slots to more descriptive names.
|
|
|
|
|
| |
There was a long standing issue with filenames containing special
characters for regular expressions. Finally fix this!
|
|
|
|
|
| |
Make it possible to call it by context menu and hook it up to
deleteSeries.
|
|
|
|
|
| |
Allow to delete seriesparts without files to be deleted from the search
dialog.
|
|
|
|
|
| |
Thought about using QSignalMapper for this, but that would be too
convoluted, thus the inline functions.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
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.
|