diff options
author | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2018-02-28 12:30:33 +0100 |
---|---|---|
committer | Johan Helsing <johan.helsing@qt.io> | 2019-01-16 12:51:44 +0000 |
commit | 017e1fa058d133ff4943907bd97822344183a619 (patch) | |
tree | 7756a052245e5df74473d4c7eee2f3324e4938e0 /src/client/hardwareintegration | |
parent | eef9f34e58465458420f6e1295bdce4a59702c54 (diff) | |
download | qtwayland-017e1fa058d133ff4943907bd97822344183a619.tar.gz |
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>
Diffstat (limited to 'src/client/hardwareintegration')
-rw-r--r-- | src/client/hardwareintegration/qwaylandserverbufferintegration_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/hardwareintegration/qwaylandserverbufferintegration_p.h b/src/client/hardwareintegration/qwaylandserverbufferintegration_p.h index 7439087d..632429be 100644 --- a/src/client/hardwareintegration/qwaylandserverbufferintegration_p.h +++ b/src/client/hardwareintegration/qwaylandserverbufferintegration_p.h @@ -85,7 +85,7 @@ public: void *userData() const; protected: - Format m_format; + Format m_format = RGBA32; QSize m_size; private: |