Jonas Kvinge
fa6ac4df41
Include fixes
2024-09-25 23:52:56 +02:00
Jonas Kvinge
4270b12cd1
Replace QLatin1String with operator _L1
2024-09-12 22:13:21 +02:00
Jonas Kvinge
e3e6a22172
Drop Qt 5 support
...
Qt 6 has been available for almost 4 years. Qt 5 is no longer officially supported by Qt for opensource, it's time to drop Qt 5.
2024-09-12 22:13:21 +02:00
Jonas Kvinge
de62552ad1
AlbumCoverManager: Queue album cover loading using timer
...
Helps reduce memory growth.
2024-09-03 22:02:05 +02:00
Jonas Kvinge
20ef621a20
Rename SearchField
2024-08-25 05:48:37 +02:00
Jonas Kvinge
8da616491d
Replace emit with Q_EMIT
2024-08-25 01:06:30 +02:00
Jonas Kvinge
a2cae06582
Remove QtConcurrent include
2024-08-24 17:01:53 +02:00
Jonas Kvinge
7ebcc73a49
More const detach fixes
2024-08-23 20:30:59 +02:00
Jonas Kvinge
bdca60c0ad
Add missing const
2024-08-12 18:12:26 +02:00
Jonas Kvinge
70fdd5b0b3
Use anonymous namespace instead of static for constants
2024-07-28 01:24:56 +02:00
Jonas Kvinge
32baa95500
Add better error handling for Tag reader
2024-07-01 02:06:42 +02:00
Jonas Kvinge
5451c110b1
Replace QStringLiteral with QLatin1String
2024-06-12 20:30:36 +02:00
Jonas Kvinge
597a8cd6c8
Remove QStringBuilder include
2024-06-12 00:44:48 +02:00
Jonas Kvinge
e477449cd4
Rewrite collection model and search
...
Fixes #392
2024-06-11 23:18:38 +02:00
Jonas Kvinge
df070ac0cf
Optimize Song::InitFromQuery
...
Use `QSqlQuery::value(int)` or `QSqlRecord::value(int)` instead of `QSqlQuery::value(QString)`.
Make `SqlRow` use `QSqlRecord` directly instead iterating over all columns.
2024-04-21 15:42:29 +02:00
Jonas Kvinge
0c6872b352
Disable automatic conversions from 8-bit strings
2024-04-13 05:05:33 +02:00
Jonas Kvinge
58944993b8
Use QStringLiteral
2024-04-09 23:20:26 +02:00
Jonas Kvinge
2e61235403
Application: Use shared pointers
...
Fixes #1239
2023-07-21 05:55:24 +02:00
Jonas Kvinge
d6b53f78ab
Cleanup includes
2023-07-21 05:25:57 +02:00
Jonas Kvinge
354b55cbbc
Use QFileInfo::path instead of QUrl::RemoveFilename
2023-06-15 21:06:18 +02:00
Jonas Kvinge
950c236720
AlbumCoverManager: Fix clear and unset actions
2023-06-15 20:35:41 +02:00
Jonas Kvinge
331aa382f9
Rewrite album cover loader
2023-06-06 20:41:01 +02:00
Jonas Kvinge
60d7a4e7ee
AlbumCoverManager: Fix invalid reference
2023-05-29 11:24:41 +02:00
Jonas Kvinge
2f17647cd3
Use const reference for AlbumCoverLoaderResult
2023-05-03 21:43:22 +02:00
Jonas Kvinge
7fc5aef553
Use one instance of NetworkAccessManager
2023-04-21 20:20:53 +02:00
Jonas Kvinge
41d5792b27
Add screen utilities for screen and center widget on screen
2023-04-18 16:54:35 +02:00
Jonas Kvinge
b660287779
Use std::shared_ptrfor AlbumCoverLoaderResult
...
Reduces memory fragmentation with Qt 6
2023-04-06 23:18:10 +02:00
Jonas Kvinge
962536bc83
AlbumCoverLoaderResult: Use enum class for type
2023-04-06 01:23:42 +02:00
Jonas Kvinge
03aabeb848
AlbumCoverManager: Respect device pixel ratio
2023-03-29 00:06:56 +02:00
Jonas Kvinge
e20cbe4170
Save embedded cover in the same process as tags
...
Possible fix for #1158
2023-03-18 20:03:07 +01:00
Jonas Kvinge
dd72fb4ca5
Use C++11 enum class
2023-02-18 14:09:30 +01:00
Jonas Kvinge
205b7f2401
Split utilities functions into separate files
2022-12-28 22:53:59 +01:00
Jonas Kvinge
2b24ac54a0
Remove unused includes
2022-08-28 03:09:33 +02:00
Jonas Kvinge
d82fd421ed
Replace use of C-style casts
2022-06-13 00:23:42 +02:00
Jonas Kvinge
a2dad982f8
Move sqlrow to core
2022-05-13 18:15:04 +02:00
Jonas Kvinge
09a9330f3e
Show error when reading or saving album covers
2021-09-19 19:31:34 +02:00
Jonas Kvinge
f39ffcb997
Simplify if condition
2021-07-12 13:45:51 +02:00
Jonas Kvinge
584f5e5935
Change bool/int condition
2021-06-22 14:04:42 +02:00
Jonas Kvinge
e1bf4347ab
Fix uninitialized variables
2021-06-20 23:53:28 +02:00
Jonas Kvinge
1295033fae
Clang-Tidy and Clazy fixes
2021-06-20 19:04:08 +02:00
Jonas Kvinge
5a58ac2845
Make CollectionQuery subclass QSqlQuery, don't copy QSqlQuery
2021-04-10 03:21:05 +02:00
Jonas Kvinge
658e1d122e
Remove set current to all artists when opening cover manager
...
Caused sluggish opening
2021-03-24 22:30:58 +01:00
Jonas Kvinge
59bffed47f
Use static_cast
2021-03-21 18:53:02 +01:00
Jonas Kvinge
54f2aa5f77
Update copyrights
2021-03-20 21:14:47 +01:00
Jonas Kvinge
a7df2bc4fb
Use original file when loading cover from file in album cover manager
2021-03-16 17:18:11 +01:00
Jonas Kvinge
f5bb15f72e
Fix QSearchField on macOS
2021-03-15 22:38:06 +01:00
Jonas Kvinge
548a1f30ca
Support saving by filename in SaveAndSetCover
2021-03-07 23:03:02 +01:00
Jonas Kvinge
69032db3c3
Remove unused function
2021-03-07 07:20:29 +01:00
Jonas Kvinge
04bbff338d
Fix deleting multiple covers in album cover manager
2021-03-07 03:43:49 +01:00
Jonas Kvinge
5807bee23b
Load album cover controller settings when album cover manager is opened
2021-03-07 00:54:20 +01:00