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 <giuseppe.dangelo@kdab.com> Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com> Reviewed-by: Majid Khan <mkhan3189@gmail.com>
This commit is contained in:
parent
feeaa1302c
commit
2b69159fd8
@ -445,9 +445,7 @@ QFileSystemModelPrivate::QFileSystemNode *QFileSystemModelPrivate::node(const QS
|
||||
return const_cast<QFileSystemModelPrivate::QFileSystemNode*>(&root);
|
||||
QFileSystemModelPrivate *p = const_cast<QFileSystemModelPrivate*>(this);
|
||||
node = p->addNode(parent, element,info);
|
||||
#ifndef QT_NO_FILESYSTEMWATCHER
|
||||
node->populate(fileInfoGatherer.getInfo(info));
|
||||
#endif
|
||||
} else {
|
||||
node = parent->children.value(element);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user