From 6e2e8f79eb941e9ed302f0d12b2a09f2e9ca46cf Mon Sep 17 00:00:00 2001 From: mread Date: Thu, 24 Sep 2009 11:29:10 +0100 Subject: Uninitialised variable fix for qfilesystemwatcher_symbian The errorCode member was uninitialised, this caused the watcher thread startup to fail. Reviewed-by: Miikka Heikkinen --- src/corelib/io/qfilesystemwatcher_symbian.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/io/qfilesystemwatcher_symbian.cpp b/src/corelib/io/qfilesystemwatcher_symbian.cpp index be0e8a9..a07d084 100644 --- a/src/corelib/io/qfilesystemwatcher_symbian.cpp +++ b/src/corelib/io/qfilesystemwatcher_symbian.cpp @@ -106,7 +106,7 @@ void QNotifyChangeEvent::DoCancel() } QSymbianFileSystemWatcherEngine::QSymbianFileSystemWatcherEngine() : - watcherStarted(false) + errorCode(KErrNone), watcherStarted(false) { moveToThread(this); } -- cgit v0.12