From: Marc Mutz Date: Tue, 7 Aug 2012 17:46:38 +0000 (+0200) Subject: QFileSystemModel: remove incorrect #ifndef X-Git-Tag: v5.0.0-beta1~31 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2b69159fd899e87bb8b5ddcb1a9350a1da984fb1;p=profile%2Fivi%2Fqtbase.git QFileSystemModel: remove incorrect #ifndef No other call to fileInfoGatherer.getInfo(info) is #ifndef'ed on QT_NO_FILESYSTEMWATCHER, so this one shouldn't be, either. Change-Id: If145226c13d77460d6169a9ed3028647b0f565b5 Reviewed-by: Giuseppe D'Angelo Reviewed-by: Jason McDonald Reviewed-by: Majid Khan --- diff --git a/src/widgets/dialogs/qfilesystemmodel.cpp b/src/widgets/dialogs/qfilesystemmodel.cpp index d4dede2..5a7895b 100644 --- a/src/widgets/dialogs/qfilesystemmodel.cpp +++ b/src/widgets/dialogs/qfilesystemmodel.cpp @@ -445,9 +445,7 @@ QFileSystemModelPrivate::QFileSystemNode *QFileSystemModelPrivate::node(const QS return const_cast(&root); QFileSystemModelPrivate *p = const_cast(this); node = p->addNode(parent, element,info); -#ifndef QT_NO_FILESYSTEMWATCHER node->populate(fileInfoGatherer.getInfo(info)); -#endif } else { node = parent->children.value(element); }