Commit Graph

51 Commits

Author SHA1 Message Date
Luis Ángel San Martín
3bcbcd06ba Try to fix compilation error in Linux with patched version of Qt 5 2023-07-08 16:53:54 +02:00
Luis Ángel San Martín
ceb230a21c Fix sorting in the volume selection dialog 2023-06-25 12:11:10 +02:00
Luis Ángel San Martín
d5acae870b Extract comic vine json parsing to its own file + add support for extra fields 2023-05-14 17:48:10 +02:00
Luis Ángel San Martín
a47b706e29 Fix a bunch of warnings 2023-04-30 14:00:09 +02:00
Luis Ángel San Martín
2b56945374 Make comic vine dialog modal 2022-11-10 21:46:36 +01:00
Luis Ángel San Martín
689e31891f Extract method 2022-10-24 19:00:04 +02:00
Luis Ángel San Martín
0ee18b0aea Tag comics from ComicVine should be marked as edited 2022-09-01 11:08:50 +02:00
Luis Ángel San Martín
769214fe5c Watch for potential empty proxy model 2022-08-21 08:59:53 +02:00
Luis Ángel San Martín
7df011e181 Add an edit for filtering series results returned by Comic Vine 2022-08-18 16:22:07 +02:00
Luis Ángel San Martín
8b4b586acc Show the automatic volume text that is going to be used in comic vine dialog
The user can chose to use it or edit it before starting the search.
2022-08-18 14:35:25 +02:00
Luis Ángel San Martín
a1e0340b3d Fix some warnings 2021-12-29 17:58:40 +01:00
Luis Ángel San Martín
040883a107 Fix static assert when compiling with Qt 6.2.2
QtConcurrent::run doesn't like that reference anymore
2021-12-28 17:48:35 +01:00
Luis Ángel San Martín
fdd98fc012 Return Qt::NoItemFlags instead of nullptr 2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
509b33e991 Methods are not slots 2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
6f1f8198d9 Use MultiMap instead of Map 2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
ec95f8f5c3 Do not use screengeometry 2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
36227a1354 QtConcurrent::run has changed in Qt6 2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
314b6295de Remove qt4 support 2021-10-19 00:00:09 +02:00
Luis Ángel San Martín
5aa02a19bb clang-format 2021-10-18 21:56:52 +02:00
Luis Ángel San Martín
175f533b75 Typo in ComicVine field 2021-09-27 18:45:09 +02:00
Felix Kauselmann
d7a9e66377 ComicVine: Convert to new slot syntax 2021-06-29 13:53:12 +02:00
Felix Kauselmann
8377de7c3e Clazy: Use fixits to refactor some old style signal connections 2021-06-29 13:53:12 +02:00
Felix Kauselmann
97377cdcf4 Eliminate qsort, use std::sort 2021-03-13 10:46:43 +01:00
Luis Ángel San Martín
c5de729635 Set the default button based on the current context 2021-03-06 18:07:29 +01:00
Luis Ángel San Martín
5303e247b7 Always use toggleSkipButton 2021-03-06 18:06:05 +01:00
Luis Ángel San Martín
f98ce43465 Add a shortcut to going back 2021-03-06 18:03:04 +01:00
Luis Ángel San Martín
5459ff78cf Disable close button as the default when pressing enter
It can be triggered using ESC
2021-03-06 18:02:41 +01:00
Luis Ángel San Martín
0f6b203d34 Embrace HTML coming from Comic Vine 2021-03-06 09:05:35 +01:00
Luis Ángel San Martín
51a9c72d05 Replace QtScript with QJson*
QtScript is deprecated and this was needed to start supporting Qt6
2021-02-27 12:02:57 +01:00
Felix Kauselmann
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
Felix Kauselmann
b9acd13120
Fix code format errors due to changes in default coding style. (#150) 2020-07-24 21:17:49 +02:00
ivanvranjic
346bcdaf75 Clang format fix. 2019-09-25 17:38:59 +02:00
Ivan Vranjic
cfb4e31af9 Fix for story arcs not being parsed from comicvine. 2019-09-25 17:38:59 +02:00
Luis Ángel San Martín
f29724e404 Annotate overridden methods 2019-06-01 16:04:48 +02:00
Luis Ángel San Martín
268bebbddd Use nullptr instead of 0 2019-06-01 16:04:48 +02:00
Luis Ángel San Martín
bb334cfd50 Use auto to avoid duplicating the type name 2019-06-01 16:04:48 +02:00
Luis Ángel San Martín
e3ec56aa43 Format code using clang-format 2019-05-30 19:46:37 +02:00
Luis Ángel San Martín
eeb303a5c1 Avoid parsing non supported dates from comic vine 2019-04-28 09:30:15 +02:00
Luis Ángel San Martín
44db4397e8 Avoid parsing null values from comic vine 2019-04-28 09:28:50 +02:00
François Gannaz
8c8521a8dc Library: reorder initialization of ResponseParser 2019-04-01 11:25:16 +02:00
François Gannaz
ebcb52bf16 Library: bugfix a 'switch case' that had no 'break' 2019-04-01 11:25:16 +02:00
François Gannaz
0453bf126a Library: unused method parameter, so comment out the name 2019-04-01 11:25:16 +02:00
Felix Kauselmann
ab96056b0e Normalize line endings
Normalize the line endings for a bunch of files previously not covered 
by .gitattributes.
2018-08-07 11:09:02 +02:00
Felix Kauselmann
d5a11fb16b Add .gitattributes rules for text and binary handling 2018-07-30 15:04:04 +02:00
Luis Ángel San Martín
8921b016a5 Avoid null values for issues' title coming from Comic Vine 2018-05-31 18:31:32 +02:00
Luis Ángel San Martín
1a91206a2d
Merge branch 'develop' into 9.5.0_bugfixes 2018-05-31 18:12:52 +02:00
Luis Ángel San Martín
229afbc9a9 Fix crash caused by accessing the UI thread from a background thread.
ComicVineDialog was calling close from background, plus accepted is emmited from a background thread, so it needs a QueuedConnection.
2018-05-31 18:09:41 +02:00
Felix Kauselmann
ca3bc94f25 Fix potential memleak caused by unused QAction pointer in SortVolumeComics 2018-05-26 11:09:28 +02:00
Luis Ángel San Martín
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
Luis Ángel San Martín
310b9e602b Trim comic vine api key to avoid problems with white spaces. 2018-02-26 14:51:38 +01:00