97c7723b17
Add support for setting issues as manga/normal in the comics view
2021-01-16 14:25:47 +01:00
ccc382df7d
Use ComicQueryResultProcesor
2021-01-14 09:17:18 +01:00
ddb140d430
Remove misplaced code
2021-01-12 18:57:25 +01:00
6438c9210f
Move query execution and model setup to the right scope
2021-01-12 18:41:09 +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
b64ea19e8b
Use an invalid QVariant to set to NULL a value in the DB
...
nullptr causes troubles in some platforms/compiles
2020-08-25 19:45:05 +02:00
c84fc20419
Reset last time opened when setting a comic as unread
2020-08-25 19:00:21 +02: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
6093e003e9
Library: add missing 'default' to non-exhaustive 'switch'
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
23823725ac
Fix how we consider a comic as being read.
...
Basically is this: it has been opened and not set as READ.
2018-05-20 14:41:55 +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
f6d389ff35
Add current/next comic view to GridView.
2018-04-23 19:22:51 +02:00
f149f314e0
Merge
2017-08-26 16:54:10 +02:00
6de499e566
Fixed db Fixed data base info retrieving in ComicModel.
2017-08-26 16:16:54 +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