summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_gui_kernel_qwidget.cpp
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2010-03-05 12:24:29 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2010-03-05 12:31:57 (GMT)
commit4070bb1daafafabebb3c893a472a22fab413e4de (patch)
tree7d314d1bce054022db22b4131a1b8252e1b965e8 /doc/src/snippets/code/src_gui_kernel_qwidget.cpp
parent4575f3f0024e6b095df856a0dd7b37118c935116 (diff)
downloadQt-4070bb1daafafabebb3c893a472a22fab413e4de.zip
Qt-4070bb1daafafabebb3c893a472a22fab413e4de.tar.gz
Qt-4070bb1daafafabebb3c893a472a22fab413e4de.tar.bz2
Prevent a freeze of QFileSystemWatcher on Mac.
On Mac when the FSEvents backend is used and a file is added or removed from a file system watcher, we need to wait until the thread is finished, otherwise it is possible that the thread already exited from the run() function but hasn't fully terminated, meaning when we restart the thread by calling start() it won't start because QThread thinks it's already running. A better fix might be to avoid stopping and starting threads - to just stop the FSEvents loop and notify the thread that a file set has changed. Task-number: QTBUG-8524 Reviewed-by: Morten
Diffstat (limited to 'doc/src/snippets/code/src_gui_kernel_qwidget.cpp')
0 files changed, 0 insertions, 0 deletions