mirror of
https://github.com/KDE/latte-dock.git
synced 2025-02-10 09:57:35 +03:00
fix crash
This commit is contained in:
parent
038b649804
commit
ca87504535
@ -299,6 +299,10 @@ void PrimaryConfigView::initView(Latte::View *view)
|
|||||||
|
|
||||||
void PrimaryConfigView::updateAvailableScreenGeometry(View *origin)
|
void PrimaryConfigView::updateAvailableScreenGeometry(View *origin)
|
||||||
{
|
{
|
||||||
|
if (!m_latteView) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
int currentScrId = m_latteView->positioner()->currentScreenId();
|
int currentScrId = m_latteView->positioner()->currentScreenId();
|
||||||
|
|
||||||
QList<Latte::Types::Visibility> ignoreModes{Latte::Types::SideBar};
|
QList<Latte::Types::Visibility> ignoreModes{Latte::Types::SideBar};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user