Jonas Kvinge
ef9ef63f02
Port to QStringLiteral operator
2024-10-20 06:38:55 +02:00
Jonas Kvinge
0e330b81db
Use Qt::Literals::StringLiterals
2024-10-18 20:17:23 +02:00
Jonas Kvinge
3cb0f60900
Add missing names for parameter variables
2024-09-28 12:32:12 +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
8da616491d
Replace emit with Q_EMIT
2024-08-25 01:06:30 +02:00
Jonas Kvinge
d230dd7365
Use fully-qualified namespaces in slot parameters
2024-08-24 17:25:56 +02:00
Jonas Kvinge
bdca60c0ad
Add missing const
2024-08-12 18:12:26 +02:00
Jonas Kvinge
cbce9892d5
Replace slots with Q_SLOTS
2024-08-12 01:06:15 +02:00
Jonas Kvinge
358da72ffe
Replace signals with Q_SIGNALS
2024-08-11 23:23:12 +02:00
Jonas Kvinge
819463a865
Use anonymous namespace for constants
2024-08-07 00:52:58 +02:00
Jonas Kvinge
c69777ca39
ContextView: Only update top text when changed
2024-08-06 23:24:58 +02:00
Jonas Kvinge
70c2b99771
ContextAlbum: Delete timeline to delete previous cover
...
QTimeLine was holding the previous covers shared pointer in the signal/slot connection, which caused it to never be free'd even though it's removed from the previous_covers_ list.
To fix this, make sure the QTimeLine is deleted.
This fixes a huge memory leak.
Addresses issue #1464
2024-06-20 16:05:07 +02:00
Jonas Kvinge
6177d4a2c4
ContextAlbum: Use const reference for image parameter
2024-06-20 15:59:34 +02:00
Jonas Kvinge
05f012e590
ContextAlbum: Formatting
2024-06-20 15:58:24 +02:00
Jonas Kvinge
cc0506490f
ContextAlbum: Use constexpr for kFadeTimeLineMs
2024-06-20 15:57:53 +02:00
Jonas Kvinge
06114c9835
ContextAlbum: Add explicit for PreviousCover
2024-06-20 15:57:12 +02:00
Jonas Kvinge
2518e4d47d
ContextAlbum: Remove unused function declaration
2024-06-20 15:56:49 +02:00
Jonas Kvinge
5451c110b1
Replace QStringLiteral with QLatin1String
2024-06-12 20:30:36 +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
Célestin Matte
27ee6e7643
EditTagDialog: Add button to fetch lyrics
...
Co-Authored-By: Jonas Kvinge <jonas@jkvinge.net >
2024-03-13 17:54:19 +01:00
Jonas Kvinge
002fa8f4aa
Fix mismatched definition
2023-10-13 22:49:20 +02:00
Jonas Kvinge
2e61235403
Application: Use shared pointers
...
Fixes #1239
2023-07-21 05:55:24 +02:00
Jonas Kvinge
a2c7ff63df
Formatting
2023-07-21 05:11:27 +02:00
Roman Lebedev
44e5c32bcb
ContextView: show newly-added fields
...
And still very boilerplate-y, same as in previous change,
just show the two new Song fields in `Context` view.
2023-07-12 14:34:04 +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
a1dbbba1a1
ContextView: Remove engine and device
2023-06-01 19:29:52 +02:00
Jonas Kvinge
97e6b17f96
ContextView: QFontDatabase::families is not static in Qt 5
2023-05-05 17:46:02 +02:00
Jonas Kvinge
b90d284b08
ContextView: Check for default font family
2023-05-05 16:43:34 +02:00
Jonas Kvinge
1208ca3ad4
ContextView: Simplify font code
2023-05-03 01:59:13 +02:00
Jonas Kvinge
e9f3281694
Rename EngineBase
2023-04-22 19:13:42 +02:00
Jonas Kvinge
92adc18b8f
ContextAlbum: Make size hint respect device pixel ratio
2023-03-28 18:21:19 +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
14d215bdf3
ContextView: Add static_cast for font size
2023-03-19 19:32:41 +01:00
Jonas Kvinge
a42039d6e5
Lyrics: Match both album artist and artist in lyrics results
2023-03-06 21:42:59 +01:00
Jonas Kvinge
dd72fb4ca5
Use C++11 enum class
2023-02-18 14:09:30 +01:00
Jonas Kvinge
9d8b3d3428
ContextView: Fix parameters for `IconLoader::Load()`
2023-01-01 16:02:17 +01:00
Jonas Kvinge
205b7f2401
Split utilities functions into separate files
2022-12-28 22:53:59 +01:00
Jonas Kvinge
950411ef56
ResizableTextEdit: Force updating geometry
...
Possible fix for
2022-11-16 21:10:30 +01:00
Jonas Kvinge
0348400132
ContextView: Remove use of fixed font
...
Fixes #1040
2022-09-23 18:10:01 +02:00
Jonas Kvinge
d82fd421ed
Replace use of C-style casts
2022-06-13 00:23:42 +02:00
Jonas Kvinge
5aac56fe96
ContextView: Cleanup spacers
2022-06-09 23:09:41 +02:00
Jonas Kvinge
9b743e55d1
ContextView: Update album width from context
2022-06-09 00:46:39 +02:00
Jonas Kvinge
a2320b99ae
ContextView: Use fixed size to avoid scrollbar issues
2022-06-06 20:54:15 +02:00
Jonas Kvinge
be01e28068
ContextAlbum: Use sizeHint()
2022-06-06 18:24:00 +02:00
Jonas Kvinge
4733c84a86
ContextAlbum: Move rescaling back to paintevent
2022-06-05 19:02:34 +02:00
Jonas Kvinge
23f3d2095b
ContextAlbum: Improve album cover fading
2022-06-05 18:20:44 +02:00