| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
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!
|
|
|
|
|
|
| |
* replace qSort
* replace Q_FOREACH
* use type-safe connect syntax
|
|
|
|
|
|
| |
* remove deprecation warnings (QModelIndex::child)
* replace Q_FOREACH
* use type-safe connect syntax
|
|
|
|
|
|
| |
* remove deprecation warning: use std::sort
* use c++-for instead of Q_FOREACH
* make one remaining connect type-safe
|
|
|
|
|
|
| |
* get rid of QModelIndex::child deprecation warnings
* replace Q_FOREACH
* use type-safe connect syntax
|
|
|
|
| |
Use std::sort instead of qSort and replace Q_FOREACH.
|
|
|
|
|
| |
Use QImage::sizeInBytes instead of QImage::byteCount as suggested by
documentation.
|
|
|
|
|
| |
* remove one deprecation warning about QModelIndex::child
* use c++-style for-loops instead of Q_FOREACH
|
|
|
|
|
| |
* remove a bunch of uncessary #includes
* remove a deprecation warning: use std::sort instead of qSort
|
|
|
|
|
| |
* use std::sort instead of deprecated qSort
* use c++ style for-loop instead of Q_FOREACH
|
|
|
|
| |
Deprecation warning suggests to use QAbstractItemModel::index, so do it.
|
| |
|
|
|
|
|
| |
Also use SLOT activated instead of currentChanged for the reasons
QCombobox so the text is inserted even if the selection didn't change.
|
|
|
|
|
|
| |
* headers
* get rid of foreach
* use type safe connect syntax
|
|
|
|
| |
It's obsolete. Same as before!
|
|
|
|
| |
Another QSignalMapper gone...
|
| |
|
|
|
|
|
|
|
| |
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}
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
and replace it with a lambda.
|
|
|
|
| |
Replace it with a lambda as SLOT, as stated in the QT documentation.
|
|
|
|
| |
Not needed any more...
|
|
|
|
|
|
|
|
|
|
|
| |
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...
|