Jonas Kvinge
dd72fb4ca5
Use C++11 enum class
2023-02-18 14:09:30 +01:00
Jonas Kvinge
8b2e8d3804
OSDPretty: Change pensize back to 2
...
Removes workaround from commit 91eee99bab
2023-01-01 22:51:49 +01:00
Jonas Kvinge
205b7f2401
Split utilities functions into separate files
2022-12-28 22:53:59 +01:00
Jonas Kvinge
adc21f4f75
Remove subdir for generated dbus files
2022-09-13 17:53:57 +02:00
Jonas Kvinge
93f12baf51
Fix narrowing conversions in connects
2022-09-12 23:18:54 +02:00
Jonas Kvinge
2b24ac54a0
Remove unused includes
2022-08-28 03:09:33 +02:00
Jonas Kvinge
72ff502e0f
OSDDBus: Set timeout
2022-07-31 03:28:13 +02:00
Jonas Kvinge
98682a2da9
Use C++17 fallthrough
2022-07-26 20:37:06 +02:00
Jonas Kvinge
a217faae7c
OSDPretty: Remove use of C-style cast
2022-06-10 00:47:11 +02:00
Jonas Kvinge
f6b70fda71
Formatting
2022-03-22 21:09:05 +01:00
Jonas Kvinge
e6a7b484ba
OSDBase: Remove redundant initialization
2021-10-30 01:59:51 +02:00
Jonas Kvinge
d29a1de980
Allow users to select native notifications on Windows
...
Setting will fallback to system tray notifications which are
native notifications on Windows.
2021-10-24 23:09:20 +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
Emmanuel
0637b65846
Fix a few narrowing conversions ( #761 )
...
* Fix narrowing conversion in album cover loader
* Fix narrowing conversions in discogs cover provider
* Fix narrowing conversions in spotify cover provider
* Add explicit conversion in moodbarbuilder
* Fix narrowing conversions in osd dbus
* Make WordyTimeNanosec use unsigned quint64
* Fix narrowing conversions in song
* Fix narrowing conversions in qobuz stream url request
* Make ConnectionInfo.msgLen use unsigned quint64
* Make AnalizerBase.timeout to signed int
* Fix narrowing conversions in album cover fetcher
* Make fht type be unsigned int
* Correct for type in blockanalizer and use std::fill where possible
* Revert "Fix narrowing conversions in song"
This reverts commit 3de291394d
.
2021-09-12 21:24:22 +02:00
EmmanuelMess
68c44daef2
Fix SingleApplication static functions called from instance
2021-09-10 18:44:36 +02:00
Jonas Kvinge
c1c34017e4
Remove get()
2021-08-25 02:58:20 +02:00
Jonas Kvinge
ea2bfbda44
Formatting
2021-08-23 21:21:08 +02:00
Jonas Kvinge
ecf2c50a26
Use QX11Application with Qt >= 6.2, use QX11Info with Qt 5
2021-08-14 17:06:40 +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
8287efd51f
Remove silencing -Wclazy-qt6-deprecated-api-fixes to workaround clazy bugs
2021-06-25 18:19:37 +02:00
Jonas Kvinge
f66aca2164
Remove static from OSDPretty::current_screen
2021-06-22 14:17:24 +02:00
Jonas Kvinge
7876f9a8a5
Remove unneeded QFont in parameter initialization list
2021-06-22 14:04:42 +02:00
Jonas Kvinge
8c2b907ff5
Make static
2021-06-22 14:04:42 +02:00
Jonas Kvinge
ed09627fdb
Use std::make_unique
2021-06-21 15:40:44 +02:00
Jonas Kvinge
1295033fae
Clang-Tidy and Clazy fixes
2021-06-20 19:04:08 +02:00
Jonas Kvinge
081df59ed7
Only call QSystemTrayIcon::isSystemTrayAvailable once
...
Workaround file descriptor leak
Fixes #724
2021-06-15 00:25:54 +02:00
Jonas Kvinge
91eee99bab
Increase pen size for OSD Pretty border
...
Workaround for QTBUG-93476
Fixes #708
2021-06-13 20:56:14 +02:00
Jonas Kvinge
e56defdc50
Formatting
2021-06-13 20:55:37 +02:00
Jonas Kvinge
f786a17014
Formatting
2021-06-12 20:53:23 +02:00
Jonas Kvinge
67f831beba
Refactor systemtrayicon code
2021-05-20 21:40:08 +02:00
jonas@jkvinge.net
efcd35d4a1
Remove use of X11Extras and WinExtras
...
Modules are deprecated in Qt 6
See: QTBUG-83251
2021-05-12 23:15:04 +02:00
Jonas Kvinge
7877bb7956
Add setting for OSD Pretty fading
2021-04-13 17:27:10 +02:00
Jonas Kvinge
531e97b499
Only use QPlatformNativeInterface on X11
2021-04-12 19:40:34 +02:00
Jonas Kvinge
59bffed47f
Use static_cast
2021-03-21 18:53:02 +01:00
Jonas Kvinge
78588d8cdf
Fix various clazy warnings
2021-03-21 04:47:11 +01:00
Jonas Kvinge
54f2aa5f77
Update copyrights
2021-03-20 21:14:47 +01:00
Jonas Kvinge
bf7c8df353
Connection syntax migration ( #637 )
2021-01-26 16:48:04 +01:00
Jonas Kvinge
3ae9092226
Prefer native notifications instead of D-Bus on macOS
2020-12-23 20:25:23 +01:00
Jonas Kvinge
03291b27d1
Mark unused
2020-12-12 12:49:35 +01:00
Jonas Kvinge
497952611d
Fix HTML escaping for custom OSD notifications
...
Fixes #618
2020-12-11 23:59:38 +01:00
Jonas Kvinge
fc02543f15
Make X11Extras and WinExtras optional
...
The initial release of Qt 6 does not have these.
These modules are not important.
X11Extras is only used for X11 global shortcuts, which in most cases is
overriden by KDE or Gnome shortcuts anyway.
It is also used in OSD Pretty to detect transparency, but this can be
done using private GUI headers instead.
WinExtras is only used in OSD Pretty to make it transparent.
2020-11-29 07:41:30 +01:00
Jonas Kvinge
b4c289101c
Strip summary but encode message
2020-11-08 21:54:16 +01:00
Jonas Kvinge
722d0797f6
Use QString::toHtmlEscaped()
2020-11-08 17:52:29 +01:00
Jonas Kvinge
deb27d5b55
Replace '&' with '&' in D-BUS OSD messages
2020-11-08 14:24:09 +01:00
Jonas Kvinge
9cc4ffdf6e
Only strip '&' from D-Bus OSD messages
2020-11-08 13:46:17 +01:00
Jonas Kvinge
22bfbab832
Add check for desktop notifications service version
2020-10-04 04:38:46 +02:00
Jonas Kvinge
c71ccda967
Remove '&' in OSD messages
...
Causes weird problems with previous text getting stuck.
2020-10-01 19:39:49 +02:00
Jonas Kvinge
45ac80dd8c
Change order of artist - title when song is paused/stopped in OSD
2020-09-30 01:14:00 +02:00