mirror of
https://git.outfoxxed.me/quickshell/quickshell.git
synced 2025-11-06 19:14:57 +11:00
all: fix new lints
This commit is contained in:
parent
05b5eccf2e
commit
517143adf9
6 changed files with 8 additions and 5 deletions
|
|
@ -18,7 +18,6 @@ HyprlandSurface::HyprlandSurface(
|
|||
QtWaylandClient::QWaylandWindow* backer
|
||||
)
|
||||
: QtWayland::hyprland_surface_v1(surface)
|
||||
, backer(backer)
|
||||
, backerSurface(backer->surface()) {}
|
||||
|
||||
HyprlandSurface::~HyprlandSurface() { this->destroy(); }
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@ public:
|
|||
void setVisibleRegion(const QRegion& region);
|
||||
|
||||
private:
|
||||
QtWaylandClient::QWaylandWindow* backer;
|
||||
wl_surface* backerSurface = nullptr;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue