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
c00d95242d
Utilities: Handle missing XDG_DATA_DIRS variable
2024-04-02 16:39:48 +02:00
Jonas Kvinge
05c4d23df6
Utilities: Remove --new-window
parameter from dolphin
...
Fixes #1412
2024-04-02 00:48:29 +02: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
adef05bbdf
Use QString::arg()
2023-10-13 22:55:20 +02:00
Dakes
7aa7cdf6f3
Add filtering of numerical cols to collection
...
CollectionFilterWidget: Updated the tooltip, to reflect the changes.
CollectionQuery: Add parsing for SQL operators and insert right SQL
"where" searches.
Song: Add list of numerical columns
playlistfilterparser.cpp/FilterParser: move time and rating parsing
functions to new file:
searchparserutils.cpp: Contains common code used to parse search terms
in playlist and collection filters.
2023-08-02 16:52:27 +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
b87a950357
CoverUtils: Only create path if it doesn't exist
2023-06-15 21:04:11 +02:00
Jonas Kvinge
8ee32dfa88
Add static_cast to silence narrowing conversion warnings
2023-06-06 23:18:49 +02:00
Jonas Kvinge
331aa382f9
Rewrite album cover loader
2023-06-06 20:41:01 +02:00
Jonas Kvinge
f8d2c7eba3
Bump required Qt version to 5.12
2023-05-03 20:50:58 +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
c49cb0c119
ImageUtils: Formatting
2023-03-29 00:09:40 +02:00
Fletcher Dostie
e4697c8ff1
Render context art at correct size
2023-03-28 17:54:56 +02:00
Fletcher Dostie
bb43cc63ec
Fix album art rendering on High DPI displays
2023-03-24 21:02:55 +01:00
Jonas Kvinge
8c4e24e65d
filemanagerutils: Add namespace comment
2023-03-19 20:31:46 +01: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
394955a03f
Replace QList<QByteArray> with QByteArrayList
2023-03-18 19:41:36 +01:00
Jonas Kvinge
312c5cbc3f
macosutils: Formatting
2023-03-08 01:03:57 +01:00
Jonas Kvinge
ea8e5180ff
Detect if running under Rosetta
2023-03-07 23:04:00 +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