mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-22 21:52:46 +01:00
Replace '&' with '&' in D-BUS OSD messages
This commit is contained in:
parent
9cc4ffdf6e
commit
deb27d5b55
@ -143,8 +143,8 @@ void OSDDBus::ShowMessageNative(const QString &summary, const QString &message,
|
||||
QVariantMap hints;
|
||||
QString summary_stripped = summary;
|
||||
QString message_stripped = message;
|
||||
summary_stripped = summary_stripped.remove('&').simplified();
|
||||
message_stripped = message_stripped.remove('&').simplified();
|
||||
summary_stripped = summary_stripped.replace('&', "&").simplified();
|
||||
message_stripped = message_stripped.replace('&', "&").simplified();
|
||||
|
||||
if (!image.isNull()) {
|
||||
if (version_ >= QVersionNumber(1, 2)) {
|
||||
|
Loading…
Reference in New Issue
Block a user