Jonas Kvinge
116bbec73e
Replace qPrintable with qUtf8Printable
...
Fixes #1440
2024-05-13 00:05:58 +02:00
Jonas Kvinge
426de61525
Add const and std::as_const
2024-04-23 17:15:42 +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
68c922ee12
SmartPlaylistWizard: Set classic style if using fusion on Windows
...
Workaround a Qt bug.
Fixes #1399
2024-03-29 02:54:25 +01:00
Jonas Kvinge
0bc94b90d7
SmartPlaylistSearchTerm: Handle unrated (-1) as zero
...
Fixes #1244
2023-07-26 01:45:28 +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
a2c7ff63df
Formatting
2023-07-21 05:11:27 +02:00
Jonas Kvinge
d8857d8e72
Add missing QMetaType include
2023-07-12 18:13:02 +02:00
Jonas Kvinge
f8d2c7eba3
Bump required Qt version to 5.12
2023-05-03 20:50:58 +02:00
Jonas Kvinge
301e6b194a
Replace 0 msec singleshot with invoke method
2023-05-03 19:55:58 +02:00
Jonas Kvinge
aaa530e72b
Add const/references to all signal parameters
2023-04-09 20:23:42 +02:00
Jonas Kvinge
780b982635
SmartPlaylistSearchTermWidget: Fix loading search terms
...
Fixes #1172
2023-04-07 23:05:07 +02:00
Jonas Kvinge
74bbc1f19f
PlaylistGenerator: Use std::make_shared
2023-04-07 22:41:10 +02:00
Jonas Kvinge
ff31815d49
SmartPlaylistSearchTerm: Revert if / else
2023-03-11 18:16:48 +01:00
Jonas Kvinge
604aa63b47
SmartPlaylists: Rename variable collection to collection_backend
2023-03-11 17:18:35 +01:00
Jonas Kvinge
ec4d036f50
SmartPlaylistsModel: Add missing endArray
2023-03-11 17:17:23 +01:00
Jonas Kvinge
fdfe164dd1
SmartPlaylistsModel: Save smart playlist type as int
2023-02-18 14:34:02 +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
b22320c48f
Replace typedef with using
2022-10-13 22:39:31 +02:00
Jonas Kvinge
2b24ac54a0
Remove unused includes
2022-08-28 03:09:33 +02:00
Jonas Kvinge
186f9c3f18
SmartPlaylistWizard: Add missing override
2022-08-28 02:50:33 +02:00
Jonas Kvinge
42cdde3203
SmartPlaylistsViewContainer: Add missing override
2022-08-28 02:50:17 +02:00
Jonas Kvinge
b9091702e9
SmartPlaylistSearchTermWidget: Add missing override
2022-08-28 02:50:02 +02:00
Jonas Kvinge
d42ecbe74e
SmartPlaylistQueryWizardPlugin: Add missing override
2022-08-28 02:49:45 +02:00
Jonas Kvinge
e6c5446d63
PlaylistQueryGenerator: Add missing override
2022-08-28 02:49:30 +02:00
Jonas Kvinge
d97b0478a7
Fix typos
2022-08-28 02:44:37 +02:00
Jonas Kvinge
89f137b211
SmartPlaylistSearchTermWidget: Remove tr from Strawberry
2022-07-14 23:41:38 +02:00
Jonas Kvinge
b54c749e43
Replace use of C-style casts
2022-06-13 00:40:31 +02:00
Jonas Kvinge
d82fd421ed
Replace use of C-style casts
2022-06-13 00:23:42 +02:00
Jonas Kvinge
948be36d3c
SmartPlaylistSearchTerm: Move value assigment
...
Mistake done in commit 3f3ae7c38f
2022-05-05 20:41:30 +02:00
Jonas Kvinge
3f3ae7c38f
SmartPlaylistSearchTerm: Fix filetype search
2022-04-19 23:11:13 +02:00
Jonas Kvinge
a6c05df362
Formatting
2022-03-22 21:19:59 +01:00
Jonas Kvinge
f6b70fda71
Formatting
2022-03-22 21:09:05 +01:00
Jonas Kvinge
79ac53b2d9
Fix narrowing conversions
2021-10-30 02:21:29 +02:00
Jonas Kvinge
03ecde8b83
Add default to switch
2021-10-30 01:08:35 +02:00
staticssleever668
b38ad81928
Remove use of C-style casts
2021-10-12 18:50:17 +02:00
Jonas Kvinge
d5b0794b00
Remove unneeded `this`
2021-09-13 20:49:33 +02:00
Jonas Kvinge
978fb06349
clazy:exclude=range-loop-reference
2021-08-25 03:45:12 +02:00
Jonas Kvinge
75b6669371
Simplify return
2021-08-25 02:58:54 +02:00
Jonas Kvinge
336c6cdd9d
Use 4arg connect
2021-08-25 02:55:00 +02:00
Jonas Kvinge
ea2bfbda44
Formatting
2021-08-23 21:21:08 +02:00
Jonas Kvinge
2eab763d74
Check that QIODevice::open() is successful, and explicitly call close()
2021-07-14 20:52:57 +02:00
Jonas Kvinge
e48b7d83a3
Formatting
2021-07-11 09:49:38 +02:00
Jonas Kvinge
a6742d401c
Formatting
2021-07-11 07:40:57 +02:00
Jonas Kvinge
b9f3f80d50
Use std::make_unique / std::make_shared
2021-07-01 02:02:02 +02:00
Jonas Kvinge
f3a8dde5f0
Use std::make_shared
2021-06-30 16:15:55 +02:00