diff --git a/src/wayland/surface_p.h b/src/wayland/surface_p.h index 034a14279c..ae31db4c1d 100644 --- a/src/wayland/surface_p.h +++ b/src/wayland/surface_p.h @@ -151,7 +151,7 @@ public: Transaction *lastTransaction = nullptr; QList outputs; - OutputInterface *primaryOutput = nullptr; + QPointer primaryOutput; std::optional preferredBufferScale; std::optional preferredBufferTransform; std::optional preferredColorDescription;