mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-27 14:50:21 +03:00
fix missing variable
This commit is contained in:
parent
0b3766221a
commit
ba1c9a6dee
@ -746,6 +746,8 @@ inline void DockView::syncGeometry()
|
||||
QRect availableScreenRect{this->screen()->geometry()};
|
||||
|
||||
if (formFactor() == Plasma::Types::Vertical) {
|
||||
auto dockCorona = qobject_cast<DockCorona *>(corona());
|
||||
|
||||
int fixedScreen = onPrimary() ? dockCorona->screenPool()->primaryScreenId() : this->containment()->screen();
|
||||
freeRegion = corona()->availableScreenRegion(fixedScreen);
|
||||
maximumRect = maximumNormalGeometry();
|
||||
|
Loading…
x
Reference in New Issue
Block a user