Pass notification of failure of watches onto the caller.
authorRobin Burchell <robin.burchell@collabora.com>
Tue, 27 Dec 2011 21:30:05 +0000 (22:30 +0100)
committerQt by Nokia <qt-info@nokia.com>
Wed, 4 Jan 2012 20:09:10 +0000 (21:09 +0100)
commitecb57cfc32ebbc457fd5e58ae0efc4dcb9d4d3f8
tree2489017ce015cd758d9dff94201d07e4f249bade
parentb49467220811059ea85f1a31eeecb6797dc753e2
Pass notification of failure of watches onto the caller.

This is particularly useful for situations where the user might really want to
be notified about a failure, for instance, in a backup application.

Empty paths are not treated as an error in calling, as the user code cannot
really do anything sensible to handle this error, but empty paths should not be
used.

Change-Id: Iddb44fd39f4e3fac5c3f9f60fb7999e1833280a8
Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
dist/changes-5.0.0
src/corelib/io/qfilesystemwatcher.cpp
src/corelib/io/qfilesystemwatcher.h
tests/auto/corelib/io/qfilesystemwatcher/tst_qfilesystemwatcher.cpp