Commit 69f5c3a0 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.
parent 8b703d00
...@@ -24,7 +24,7 @@ AbstractItem { ...@@ -24,7 +24,7 @@ AbstractItem {
id: taskIcon id: taskIcon
itemId: model.Id itemId: model.Id
text: model.Title text: model.Title || model.ToolTipTitle
mainText: model.ToolTipTitle !== "" ? model.ToolTipTitle : model.Title mainText: model.ToolTipTitle !== "" ? model.ToolTipTitle : model.Title
subText: model.ToolTipSubTitle subText: model.ToolTipSubTitle
textFormat: Text.AutoText 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