From feeea2fec6e0df21dc3392a2ec9b450aef518f40 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Tue, 9 Jan 2024 14:31:34 +0100 Subject: [PATCH] braces --- src/qwaylandlayersurface.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/qwaylandlayersurface.cpp b/src/qwaylandlayersurface.cpp index 0680623..15ffc1d 100644 --- a/src/qwaylandlayersurface.cpp +++ b/src/qwaylandlayersurface.cpp @@ -133,8 +133,9 @@ void QWaylandLayerSurface::setExclusiveZone(int32_t zone) void QWaylandLayerSurface::setExclusiveEdge(uint32_t edge) { - if (zwlr_layer_surface_v1_get_version(object()) >= ZWLR_LAYER_SURFACE_V1_SET_EXCLUSIVE_EDGE_SINCE_VERSION) + if (zwlr_layer_surface_v1_get_version(object()) >= ZWLR_LAYER_SURFACE_V1_SET_EXCLUSIVE_EDGE_SINCE_VERSION) { set_exclusive_edge(edge); + } } void QWaylandLayerSurface::setMargins(const QMargins &margins)