Home
Phabricator
Search
Log In
Paste
P528
Masterwork From Distant Lands
Active
Public
Actions
Authored by
davidedmundson
on Jan 24 2020, 5:18 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Subscribers
None
commit b310e3f088155b91fc4dd3c09b4508182394a9fb
Author: David Edmundson <davidedmundson@kde.org>
Date: Wed Jan 8 17:12:17 2020 +0000
Initialize boolean m_hasItemChangeListeners
Found by a valgrind warning of an unintialized jump.
Change-Id: I24279c97042e1971eaff35c3363fc1250e5c6c6e
diff --git a/src/imports/layouts/qquicklayout_p.h b/src/imports/layouts/qquicklayout_p.h
index b31bffa290..3f076c7304 100644
--- a/src/imports/layouts/qquicklayout_p.h
+++ b/src/imports/layouts/qquicklayout_p.h
@@ -131,7 +131,7 @@ class QQuickLayoutPrivate : public QQuickItemPrivate
{
Q_DECLARE_PUBLIC(QQuickLayout)
public:
- QQuickLayoutPrivate() : m_isReady(false), m_disableRearrange(true) {}
+ QQuickLayoutPrivate() : m_isReady(false), m_disableRearrange(true), m_hasItemChangeListeners(false) {}
protected:
unsigned m_isReady : 1;
davidedmundson
edited the content of this paste.
(Show Details)
Jan 24 2020, 5:18 PM
davidedmundson
changed the title of this paste from untitled to
Masterwork From Distant Lands
.
Log In to Comment