mirror of
https://github.com/KDE/latte-dock.git
synced 2025-01-24 18:03:53 +03:00
subcontainments considered Expandable
This commit is contained in:
parent
4571c255ed
commit
c74b60c7da
@ -457,8 +457,9 @@ bool ContainmentInterface::appletIsExpandable(PlasmaQuick::AppletQuickItem *appl
|
||||
return false;
|
||||
}
|
||||
|
||||
return (appletQuickItem->fullRepresentation() != nullptr
|
||||
&& appletQuickItem->preferredRepresentation() != appletQuickItem->fullRepresentation());
|
||||
return ((appletQuickItem->fullRepresentation() != nullptr
|
||||
&& appletQuickItem->preferredRepresentation() != appletQuickItem->fullRepresentation())
|
||||
|| Latte::Layouts::Storage::self()->isSubContainment(m_view->layout(), appletQuickItem->applet()));
|
||||
}
|
||||
|
||||
bool ContainmentInterface::hasExpandedApplet() const
|
||||
|
Loading…
x
Reference in New Issue
Block a user