all: fix new lints

This commit is contained in:
outfoxxed 2025-06-12 16:51:02 -07:00
parent 05b5eccf2e
commit 517143adf9
No known key found for this signature in database
GPG key ID: 4C88A185FB89301E
6 changed files with 8 additions and 5 deletions

View file

@ -18,7 +18,6 @@ HyprlandSurface::HyprlandSurface(
QtWaylandClient::QWaylandWindow* backer
)
: QtWayland::hyprland_surface_v1(surface)
, backer(backer)
, backerSurface(backer->surface()) {}
HyprlandSurface::~HyprlandSurface() { this->destroy(); }

View file

@ -24,7 +24,6 @@ public:
void setVisibleRegion(const QRegion& region);
private:
QtWaylandClient::QWaylandWindow* backer;
wl_surface* backerSurface = nullptr;
};

View file

@ -169,6 +169,7 @@ void QSWaylandSessionLockSurface::initVisible() {
auto& surfacePointer = reinterpret_cast<SurfaceAccessor*>(this->window())->surfacePointer();
// Swap out the surface for a dummy during initWindow.
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED // swap()
{
surfacePointer.swap(*tempSurface);