Luis Ángel San Martín
5aa02a19bb
clang-format
2021-10-18 21:56:52 +02:00
Igor Kushnir
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
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
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
François Gannaz
11c99efa30
Library: explicit braces to avoid ambiguous 'else' (hidden in macro)
2019-04-01 11:25:16 +02:00
François Gannaz
62db328ab5
Library: explicit braces to avoid ambiguous 'else'
2019-04-01 11:25:16 +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
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
Felix Kauselmann
2cbbf8d433
Headless server: simplify system config logger
2018-01-28 13:32:56 +01:00