diff options
author | Thiago Macieira <thiago@macieira.org> | 2013-12-11 17:56:35 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-12-12 03:37:24 +0100 |
commit | 0f3928f315d147e0631e7ca2c6c928847425a273 (patch) | |
tree | b92319398a7218735d3f766556755c86840fcc68 /qt-ui/simplewidgets.cpp | |
parent | 841bdf3462ded58266eb884efcbb043579995617 (diff) | |
download | subsurface-0f3928f315d147e0631e7ca2c6c928847425a273.tar.gz |
Don't check if a file exists right before trying to open it
The open call will tell us what we need to know. Obviously we can't open
a file that doesn't exist. This saves us one stat() or Windows
equivalent.
Signed-off-by: Thiago Macieira <thiago@macieira.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/simplewidgets.cpp')
0 files changed, 0 insertions, 0 deletions