Commit Graph

157 Commits

Author SHA1 Message Date
b9acd13120 Fix code format errors due to changes in default coding style. (#150) 2020-07-24 21:17:49 +02:00
4126fc71c3 Remove unused variables 2019-06-01 16:04:48 +02:00
f29724e404 Annotate overridden methods 2019-06-01 16:04:48 +02:00
268bebbddd Use nullptr instead of 0 2019-06-01 16:04:48 +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
11c99efa30 Library: explicit braces to avoid ambiguous 'else' (hidden in macro) 2019-04-01 11:25:16 +02:00
62db328ab5 Library: explicit braces to avoid ambiguous 'else' 2019-04-01 11:25:16 +02:00
6093e003e9 Library: add missing 'default' to non-exhaustive 'switch' 2019-04-01 11:25:16 +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
2189e19a91 Library: fix misleading indentation 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
450997762e Current comic view only makes sense for folders and reading lists. 2018-05-22 18:45:12 +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
d7c633cf3f Fix data base management + include cover thumbnails scan to calculate coverSizeRatio. 2018-03-12 21:21:30 +01:00
ffd9631b72 Add original cover size to the comic_info table. 2018-03-11 15:29:01 +01:00
69395398e1 Partial support for storing the cover information in the DB. Work in progress. 2018-03-11 14:43:07 +01:00
e8c6f60c13 Merge 2017-11-26 07:39:08 +01:00
5c268217d3 Fix read flag calculation on progress read updated from the server. 2017-11-19 10:03:40 +01:00
9ed1f0f306 Merge 2017-08-28 18:52:24 +02:00
f149f314e0 Merge 2017-08-26 16:54:10 +02:00
8b20014cc8 Fixed data base info retrieving in ReadingListModel. 2017-08-26 16:17:54 +02:00
f5fda9b530 Fixed db Fixed data base info retrieving in FolderModel. 2017-08-26 16:17:17 +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
d20277736d Added model classes for reading lists and labels. 2017-05-26 17:24:56 +02:00
30982be0a9 Updated the comic model for getting the reading comics properly sorted. //TODO This should be using the method in the DBHelper. 2017-03-28 18:43:15 +02:00
3a5415c335 Add new field to the comic info table in the DB and updated the migration process. 2017-03-28 18:39:59 +02:00
dfb6082294 merged 2017-02-18 08:26:53 +01:00
27f9bff91b Added tooltip to folder items in the folders' treeview, it will show the complete name of the folder, usefull when the name is clipped by the parent view, plus the number of children in that folder. Only the number of subfolders can be known when the tooltip is decorated 2017-01-13 20:05:56 +01:00
2edfe534bd Refactoring: fix mixed indentation and add curly braces in comic.cpp 2016-10-17 22:01:23 +02:00
94251d3045 Fixed how Favorites are loaded by using the right sorting. 2016-08-23 22:03:20 +02:00
581592909d merged develop 2016-04-19 23:19:39 +02:00
64b77586fc Implemented logic for comic info interactive items (read, fav, rating) 2016-04-18 23:21:54 +02:00
bcc51241b3 Added support for knowing if a comic is in favorites or not. 2016-04-17 11:20:14 +02:00
4b8462459a fixed compilation warnings in YACReaderLibrary.pro, at least using vc++ compiler 2016-03-26 11:31:25 +01:00
011176bebb merged master 2016-03-25 17:15:14 +01:00
71d9254446 fixed resorting comics by drag&drop in tags and reading lists 2016-03-25 14:15:49 +01:00
8179092d56 added a border to selected/mouseHover elements in the grid view 2016-03-25 11:30:31 +01:00
88056c819f updating folders' children info for every insert/delete in the db causes big performance issues, so that info is going to be updated explicitly 2016-01-25 18:45:50 +01:00
e23f6b0bc3 store the hash of the first comic in a folder, this is more useful than storing the id 2016-01-24 19:14:16 +01:00
3cda11eec7 fixed db creation 2016-01-24 18:47:09 +01:00
35b87a9f59 added missing method declaration 2016-01-24 12:56:54 +01:00
cf79dbad91 update the folder table properly in 8.6 version 2016-01-24 10:52:55 +01:00
b0060795b5 added new method for adding constraints to an existing table 2016-01-24 10:52:12 +01:00