mirror of
https://invent.kde.org/plasma/layer-shell-qt.git
synced 2025-05-28 02:50: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
|
#else
|
||||||
void QWaylandLayerSurface::setWindowSize(const QSize &size)
|
void QWaylandLayerSurface::setWindowSize(const QSize &size)
|
||||||
{
|
{
|
||||||
if (!m_explicitDesiredSize) {
|
if (m_interface->desiredSize().isNull()) {
|
||||||
setDesiredSize(size);
|
setDesiredSize(size);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user