Member init for some variables that are not covered by constructors
Where it makes sense, default init variables to sensible values Change-Id: Ie2aa6ab79a6a3c8322bb0ff804f340f7ffd1c1d1 Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
This commit is contained in:
parent
6c71a283d8
commit
c34abdb08b
@ -85,7 +85,7 @@ public:
|
|||||||
void *userData() const;
|
void *userData() const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
Format m_format;
|
Format m_format = RGBA32;
|
||||||
QSize m_size;
|
QSize m_size;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
@ -224,10 +224,10 @@ private:
|
|||||||
QScopedPointer<QWaylandHardwareIntegration> mHardwareIntegration;
|
QScopedPointer<QWaylandHardwareIntegration> mHardwareIntegration;
|
||||||
QScopedPointer<QtWayland::zxdg_output_manager_v1> mXdgOutputManager;
|
QScopedPointer<QtWayland::zxdg_output_manager_v1> mXdgOutputManager;
|
||||||
QSocketNotifier *mReadNotifier = nullptr;
|
QSocketNotifier *mReadNotifier = nullptr;
|
||||||
int mFd;
|
int mFd = -1;
|
||||||
int mWritableNotificationFd;
|
int mWritableNotificationFd = -1;
|
||||||
QList<RegistryGlobal> mGlobals;
|
QList<RegistryGlobal> mGlobals;
|
||||||
int mCompositorVersion;
|
int mCompositorVersion = -1;
|
||||||
uint32_t mLastInputSerial = 0;
|
uint32_t mLastInputSerial = 0;
|
||||||
QWaylandInputDevice *mLastInputDevice = nullptr;
|
QWaylandInputDevice *mLastInputDevice = nullptr;
|
||||||
QPointer<QWaylandWindow> mLastInputWindow;
|
QPointer<QWaylandWindow> mLastInputWindow;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user