aboutsummaryrefslogtreecommitdiffstats
path: root/docs/checks/README-qfileinfo-exists.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/checks/README-qfileinfo-exists.md')
-rw-r--r--docs/checks/README-qfileinfo-exists.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/checks/README-qfileinfo-exists.md b/docs/checks/README-qfileinfo-exists.md
new file mode 100644
index 00000000..279fc01c
--- /dev/null
+++ b/docs/checks/README-qfileinfo-exists.md
@@ -0,0 +1,6 @@
+# qfileinfo-exists
+
+Finds places using `QFileInfo("filename").exists()` instead of the faster version `QFileInfo::exists("filename")`.
+
+According to Qt's docs:
+"Using this function is faster than using QFileInfo(file).exists() for file system access."