From 716905cd5675497f0c99e9468bc52ed6e6e25005 Mon Sep 17 00:00:00 2001 From: "Bradley T. Hughes" Date: Thu, 12 Jan 2012 11:43:23 +0100 Subject: Do not call moveToThread(this) in QWindowsFileSystemWatcherEngineThread This is considered bad practice, and gives no benefit as the threads do not use an eventloop. Change-Id: I0de9eca97948571cf5091e2f1b19bb1faab3e2ac Reviewed-by: Robin Burchell Reviewed-by: Friedemann Kleint --- src/corelib/io/qfilesystemwatcher_win.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/corelib/io/qfilesystemwatcher_win.cpp') diff --git a/src/corelib/io/qfilesystemwatcher_win.cpp b/src/corelib/io/qfilesystemwatcher_win.cpp index 3028f94b0e..e82a9a5b56 100644 --- a/src/corelib/io/qfilesystemwatcher_win.cpp +++ b/src/corelib/io/qfilesystemwatcher_win.cpp @@ -297,7 +297,6 @@ QWindowsFileSystemWatcherEngineThread::QWindowsFileSystemWatcherEngineThread() handles.reserve(MAXIMUM_WAIT_OBJECTS); handles.append(h); } - moveToThread(this); } -- cgit v1.2.3