Commit 2ea45bcf authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

[System Tray] Fall back to tool tip title if no title is set

Some Electron apps send an empty tray icon title... Instead of showing an
awkward gap, use the tooltip title instead.


(cherry picked from commit 69f5c3a0)
parent 22ee560d
......@@ -24,7 +24,7 @@ AbstractItem {
id: taskIcon
itemId: model.Id
text: model.Title
text: model.Title || model.ToolTipTitle
mainText: model.ToolTipTitle !== "" ? model.ToolTipTitle : model.Title
subText: model.ToolTipSubTitle
textFormat: Text.AutoText
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment