mirror of
https://invent.kde.org/plasma/layer-shell-qt.git
synced 2025-05-27 18:40:21 -04:00
fix build
This commit is contained in:
parent
2f89957fac
commit
d5fb072103
@ -195,7 +195,7 @@ void QWaylandLayerSurface::setWindowGeometry(const QRect &geometry)
|
||||
#else
|
||||
void QWaylandLayerSurface::setWindowSize(const QSize &size)
|
||||
{
|
||||
if (!m_explicitDesiredSize) {
|
||||
if (m_interface->desiredSize().isNull()) {
|
||||
setDesiredSize(size);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user