From ecb57cfc32ebbc457fd5e58ae0efc4dcb9d4d3f8 Mon Sep 17 00:00:00 2001 From: Robin Burchell Date: Tue, 27 Dec 2011 22:30:05 +0100 Subject: Pass notification of failure of watches onto the caller. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Denis Dzyubenko Reviewed-by: Bradley T. Hughes --- dist/changes-5.0.0 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'dist') diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0 index 84add0dfcc..3dec253f59 100644 --- a/dist/changes-5.0.0 +++ b/dist/changes-5.0.0 @@ -170,6 +170,10 @@ QtCore * The default value of the property QSortFilterProxyModel::dynamicSortFilter was changed from false to true. +* QFileSystemWatcher is now able to return failure in case of errors whilst + altering the watchlist in both the singular and QStringList overloads of + addPath and removePath. + QtGui ----- * Accessibility has been refactored. The hierachy of accessible objects is implemented via -- cgit v1.2.3