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
Jonas Kvinge
30001be0ee
Show song in OSD when pausing and stopping
2020-09-29 19:27:35 +02:00
Jonas Kvinge
73692797dc
Fix QWidget::enterEvent with Qt 6
2020-09-05 19:20:43 +02:00
Jonas Kvinge
51b379502f
Always use qint32 for QDBusArgument
2020-08-23 21:55:34 +02:00
Jonas Kvinge
b5e27d4d69
Declare QDBusArgument for QImage in osddbus.h
2020-08-23 03:19:40 +02:00
Jonas Kvinge
be966488e8
Fix OSD D-Bus assertion with Qt 6
2020-08-10 23:05:07 +02:00
Jonas Kvinge
ab7d383cf1
Use virtual functions for OSD
2020-08-09 01:37:00 +02:00