Jonas Kvinge
0e330b81db
Use Qt::Literals::StringLiterals
2024-10-18 20:17:23 +02:00
Jonas Kvinge
a8d1bf7e73
CollectionModel: Use song sort text if any group by is set to album
...
Fixes #1573
2024-10-06 14:39:14 +02:00
Jonas Kvinge
525ebbb9b7
CollectionModel: Fix updating song when disc is changed
2024-10-04 16:56:59 +02:00
Jonas Kvinge
d72694ce06
CollectionModel: Only use song sort text if album is the parent group by
2024-09-30 17:14:43 +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
2a9ccd7480
Set object names
2024-09-02 22:26:36 +02:00
Jonas Kvinge
b2c862e7d5
CollectionModel: Use chrono literals
2024-08-25 02:07:31 +02:00
Jonas Kvinge
8da616491d
Replace emit with Q_EMIT
2024-08-25 01:06:30 +02:00
Jonas Kvinge
bc667a6474
Use static QRegularExpression
2024-08-24 17:23:10 +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
37743606a2
CollectionModel: Remove unused ExpandAll function
2024-07-24 19:58:53 +02:00
Jonas Kvinge
f2eb0c3b6b
CollectionModel: Add ItemNeverHasChildren
2024-07-15 14:28:29 +02:00
Jonas Kvinge
3100b0c044
CollectionFilter: Use recursive filtering
...
Fixes #1486
Fixes #1487
2024-07-15 13:44:50 +02:00
Jonas Kvinge
f4ec3ab379
CollectionModel: Don't append artist if song is compilation
2024-07-14 20:21:08 +02:00
Jonas Kvinge
e1b4585dc7
CollectionModel: Minor change in debug log
2024-07-02 17:53:14 +02:00
Jonas Kvinge
2edc4369d2
CollectionModel: Only prepend artist on album group by
2024-07-01 17:11:14 +02:00
Jonas Kvinge
7f177aef08
CollectionModel: Always separate albums by different artists
...
Fixes #1276
2024-06-24 19:21:24 +02:00
Jonas Kvinge
f596695f61
CollectionModel: Don't process model updates when loading
2024-06-14 18:40:52 +02:00
Jonas Kvinge
5451c110b1
Replace QStringLiteral with QLatin1String
2024-06-12 20:30:36 +02:00
Jonas Kvinge
a36bf2df65
Replace QStringLiteral with QLatin1String
2024-06-12 18:08:54 +02:00
Jonas Kvinge
f5002cae36
Make static
2024-06-12 18:07:58 +02:00
Jonas Kvinge
b233600b8c
Remove useless else
2024-06-12 17:38:58 +02:00
Jonas Kvinge
e477449cd4
Rewrite collection model and search
...
Fixes #392
2024-06-11 23:18:38 +02:00
Jonas Kvinge
6e90e72b4a
CollectionModel: Add content to fake header for pixmap cache
...
QNetworkCacheMetaData requires this now.
2024-05-26 02:49:26 +02:00
Jonas Kvinge
9c92ef941f
CollectionModel: Remove redundant const_cast
2024-04-23 16:52:17 +02:00
Jonas Kvinge
7b88be2635
CollectionModel: Only set grouping if it's selected
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
4c1a5168f0
CollectionModel: Reset model before deletion
2024-04-03 21:17:20 +02:00
Sami Boukortt
2aa70b6ab8
Add an option not to skip “The” when sorting artist names
2024-03-11 23:34:42 +01:00
Jonas Kvinge
7f4c61b15a
Improve album and title disc, remastered, etc matching
...
Don't partial remove things like "(Mono / Remastered)".
Fixes #1387
2024-03-02 19:48:19 +01: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
6d55eb5974
CollectionModel: Fix icon disk cache
2023-06-07 00:51:53 +02:00
Jonas Kvinge
331aa382f9
Rewrite album cover loader
2023-06-06 20:41:01 +02:00
Jonas Kvinge
2f17647cd3
Use const reference for AlbumCoverLoaderResult
2023-05-03 21:43:22 +02:00
Jonas Kvinge
b0b8ff2d49
CollectionModel: URL percent encode disk cache keys
...
Fixes #1183
2023-04-18 18:42:37 +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
c8169adf7c
CollectionModel: Guard against invalid disc and year
2023-03-25 18:32:41 +01:00
Jonas Kvinge
7b610d131c
CollectionModel: Replace qMax with std::max
2023-03-25 18:31:21 +01:00
Jonas Kvinge
2aeab8b672
CollectionModel: Remove unused QByteArray include
2023-03-25 18:26:53 +01:00
Jonas Kvinge
79bf194ed6
CollectionModel: Fix compilation requirement query
...
Fixes #1140
2023-02-18 16:40:12 +01:00
Jonas Kvinge
dd72fb4ca5
Use C++11 enum class
2023-02-18 14:09:30 +01:00
Jonas Kvinge
b5fa401db9
Collection: Make sure RunQuery does not access collection items
...
- Rename `QueryOptions` to `CollectionFilterOptions`.
- Create new class `CollectionQueryOptions` for passing options from model to `CollectionQuery`.
- Rename `Directory` to `CollectionDirectory`.
Fixes #1095
2023-01-08 18:16:16 +01:00
Jonas Kvinge
cc4a99ad80
CollectionModel: Close database with same mutex
2023-01-07 23:57:23 +01:00
Jonas Kvinge
e97be5850b
CollectionModel: Change while to for loop
2023-01-07 23:26:36 +01:00