7b88d47396
#include "yacreader_global.h" in Y_MAC_UI is used
2023-05-24 18:10:03 +02:00
315d2deced
Don't use Q_OS_MAC for ui specifics, Y_MAC_UI is the replacement
2023-05-23 18:51:33 +02:00
45af72520b
Add setting to control what "recent" is considered.
2023-05-20 17:43:38 +02:00
6a6a239cc7
Add the possibility to show a recently added/updated indicator
2023-05-20 16:17:40 +02:00
9c9b62db70
Fix role name
2023-05-20 15:33:47 +02:00
f2bf53ce5b
Add new fields to the DB and make then available to be used in the apps
2023-05-12 16:59:23 +02:00
3e2bda7cf1
Extract function
2022-10-29 11:07:10 +02:00
9dc66f532f
boolean -> bool
2022-10-25 08:51:52 +02:00
02df90f3bd
Don't do any more iteration if we found the right index
2022-10-25 07:48:39 +02:00
cea26ecc20
Missing ;
2022-10-25 07:40:50 +02:00
54d2fba53d
Restore the selected index in the folders view when doing partial updates
2022-10-24 22:59:21 +02:00
31c4ae6561
More left side bar png to svg assets conversion
2022-10-23 10:43:37 +02:00
00f7d92c9a
Make sure that the changes made to folders are propagated to the subfolder model in FolderContentView
2022-10-13 19:28:55 +02:00
2e16dec51a
Update FolderModel to support new functionality
2022-10-09 11:32:06 +02:00
aa44ad4143
Remove old code
2022-09-16 19:32:30 +02:00
8a6ec5fcc6
Assign covers to folders from subfolders & comics
...
Before this commit folder with no direct comics (only subfolders) didn't have a cover image to be displayed. Now updating the children info is done recursively and subfolders are taken into account.
This affects the iOS client remote browser so far, but it is also needed for the future browser update (display folders as a grid instead of using EmptyFolderWidget)
2022-08-31 18:58:25 +02:00
5aa02a19bb
clang-format
2021-10-18 21:56:52 +02:00
a623dfb133
Database Models: Remove obsolete signals
...
Folder model and comic model contain two signal relais which do not
serve any obvious purpose.
Remove them.
2021-06-29 13:53:12 +02:00
b87be81037
Deprecated QSortFilterProxyModel::clear() => invalidate()
2021-03-09 21:32:23 +01:00
8af4c01a03
Port away from deprecated QFlags(Zero) constructor
...
This change gets rid of a few GCC's -Wdeprecated-declarations warnings.
2021-03-09 21:32:23 +01:00
3c9ed6ef8f
Deprecated qSort => std::sort
...
This change gets rid of some GCC's -Wdeprecated-declarations warnings.
2021-03-09 21:32:23 +01:00
6461a4014e
Add actions for setting folders as manga/normal
2021-01-16 18:31:48 +01:00
82eb5c0a8b
Add fallback for qt < 5.15
2021-01-14 15:51:20 +01:00
5343d24f26
Run folder search filtering in the background
...
It uses the same approach used by the comics search filter
2021-01-14 11:37:17 +01:00
5037f3ac92
Fix data base removal in FolderModel
2021-01-12 18:41:57 +01:00
255e51da86
Fix binding values to search query
...
This was broken while doing a rebase
2021-01-08 16:59:17 +01:00
2d3888b4b4
Fix scopes
2021-01-08 15:56:13 +01:00
30529dca43
Some small tidy ups
2021-01-08 15:51:56 +01:00
673ee1f067
Use the query parser in the comic and folder model
2021-01-08 15:41:29 +01:00
4b3042def4
Fix object leaks in database code
...
Qt's database and query model requires that both the queries and the database
objects are out of scope before a database connection can safely be removed.
Solution: Properly encapsulate databases and queries in "{ }" and use a string
to cache the connection name for out-of-scope removal.
2020-08-25 17:34:46 +02:00
bb334cfd50
Use auto to avoid duplicating the type name
2019-06-01 16:04:48 +02:00
e3ec56aa43
Format code using clang-format
2019-05-30 19:46:37 +02:00
b77eaf6d9c
Library: reorder initialization of FolderModel
2019-04-01 11:25:16 +02:00
9c3720ceb9
Library: fix misleading indentation
2019-04-01 11:25:16 +02:00
fb97cfa1dc
Library: explicit {} on ambiguous 'if if else'
2019-04-01 11:25:16 +02:00
d5a11fb16b
Add .gitattributes rules for text and binary handling
2018-07-30 15:04:04 +02:00
1ccb40624c
Remove potential memleak in folder model code
2018-05-26 11:32:59 +02:00
52c76d5482
Create unique database connections per thread and remove them using the database connection name from the QSqlDatabase instance being used.
2018-04-24 20:53:24 +02:00
f149f314e0
Merge
2017-08-26 16:54:10 +02:00
f5fda9b530
Fixed db Fixed data base info retrieving in FolderModel.
2017-08-26 16:17:17 +02:00
d6898e9a4e
Fixed data base info retrieving through DBHelper, value(QString)
should never be used because it is really slow. All items sorting should be done at db level or using std::sort.
2017-08-26 16:16:11 +02:00