summaryrefslogtreecommitdiff
path: root/src/client/hardwareintegration
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2018-02-28 12:30:33 +0100
committerJohan Helsing <johan.helsing@qt.io>2019-01-16 12:51:44 +0000
commit017e1fa058d133ff4943907bd97822344183a619 (patch)
tree7756a052245e5df74473d4c7eee2f3324e4938e0 /src/client/hardwareintegration
parenteef9f34e58465458420f6e1295bdce4a59702c54 (diff)
downloadqtwayland-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.h2
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: