Cocoa: initialize QCocoaEventDispacherPrivate::lastSerial
This silences warnings from valgrind about a conditional depending on an uninitialized value. Change-Id: I819a44ed5dc02e163c00849811870c94f66b6651 Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
This commit is contained in:
parent
aad02f130c
commit
d24873c4f2
@ -895,6 +895,7 @@ QCocoaEventDispatcherPrivate::QCocoaEventDispatcherPrivate()
|
||||
nsAppRunCalledByQt(false),
|
||||
cleanupModalSessionsNeeded(false),
|
||||
currentModalSessionCached(0),
|
||||
lastSerial(-1),
|
||||
interrupt(false)
|
||||
{
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user