Added distro logo (for SidePanel widget)
BarTab: add toggle for distro logo replacement DistroLogoService: handle all logo detection logic SidePanelToggle: add support for distro logo WidgetLoader: fix small issue with with screen null warning
This commit is contained in:
parent
91b355689c
commit
eea1586772
5 changed files with 129 additions and 4 deletions
|
|
@ -13,7 +13,7 @@ Item {
|
|||
Connections {
|
||||
target: ScalingService
|
||||
function onScaleChanged(screenName, scale) {
|
||||
if ((loader.item.screen !== null) && (screenName === loader.item.screen.name)) {
|
||||
if (loader.item && loader.item.screen && screenName === loader.item.screen.name) {
|
||||
loader.item['scaling'] = scale
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue