summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormread <qt-info@nokia.com>2009-09-24 10:29:10 (GMT)
committermread <qt-info@nokia.com>2009-09-24 10:52:34 (GMT)
commit6e2e8f79eb941e9ed302f0d12b2a09f2e9ca46cf (patch)
treeeddcb28fafa99c09bd73bed4a4288d050c2c1a1c /src
parent06aa9b6704637864130e318e8700f1b0b4f8a5e3 (diff)
downloadQt-6e2e8f79eb941e9ed302f0d12b2a09f2e9ca46cf.zip
Qt-6e2e8f79eb941e9ed302f0d12b2a09f2e9ca46cf.tar.gz
Qt-6e2e8f79eb941e9ed302f0d12b2a09f2e9ca46cf.tar.bz2
Uninitialised variable fix for qfilesystemwatcher_symbian
The errorCode member was uninitialised, this caused the watcher thread startup to fail. Reviewed-by: Miikka Heikkinen
Diffstat (limited to 'src')
-rw-r--r--src/corelib/io/qfilesystemwatcher_symbian.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}