summaryrefslogtreecommitdiff
path: root/src/gui/dialogs/qfileinfogatherer_p.h
diff options
context:
space:
mode:
authorAlexis Menard <alexis.menard@trolltech.com>2009-03-24 16:02:02 +0100
committerAlexis Menard <alexis.menard@trolltech.com>2009-03-24 16:12:16 +0100
commit2b9e47e4ce09802f00fa2ca39c0cd877f59ae4d9 (patch)
treef4123fd883c63c1df744fd1affe547b8e5fb30ce /src/gui/dialogs/qfileinfogatherer_p.h
parentdd7b1f11fa4b682d4283274d1fcba8a801fa10f1 (diff)
downloadqt4-tools-2b9e47e4ce09802f00fa2ca39c0cd877f59ae4d9.tar.gz
Fix some extra file system stats that we were doing in the model.
This patch basically ensure that we share the same QFileinfo all over the place for each nodes (then we benefit of the cache). It fix also an extra stat due of a bugfix that was not optimal. Task-number: 247645 Reviewed-by: jasplin
Diffstat (limited to 'src/gui/dialogs/qfileinfogatherer_p.h')
-rw-r--r--src/gui/dialogs/qfileinfogatherer_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/dialogs/qfileinfogatherer_p.h b/src/gui/dialogs/qfileinfogatherer_p.h
index eac0d462e2..60b9d5fe42 100644
--- a/src/gui/dialogs/qfileinfogatherer_p.h
+++ b/src/gui/dialogs/qfileinfogatherer_p.h
@@ -161,6 +161,7 @@ public:
~QFileInfoGatherer();
void clear();
+ void removePath(const QString &path);
QExtendedInformation getInfo(const QFileInfo &info) const;
public Q_SLOTS: