summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-05-11 09:35:15 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-05-11 09:59:56 (GMT)
commit540092f4cc35238c258bb6422912d3eb18b26f33 (patch)
treeabe22b38f0529d98a7b0ca325569996b96fb0aaf /src
parent386c640d9c0cc0984f33225b72e6d46e3718dcf7 (diff)
downloadQt-540092f4cc35238c258bb6422912d3eb18b26f33.zip
Qt-540092f4cc35238c258bb6422912d3eb18b26f33.tar.gz
Qt-540092f4cc35238c258bb6422912d3eb18b26f33.tar.bz2
Fixed resetting error mode on Windows on error when stat'ing a file.
We shouldn't return since the SetErrorMode was called and we need to reset it back afterwards. Patch-by: ritt.k Reviewed-by: mauricek
Diffstat (limited to 'src')
-rw-r--r--src/corelib/io/qfsfileengine_win.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/corelib/io/qfsfileengine_win.cpp b/src/corelib/io/qfsfileengine_win.cpp
index 63506c2..c5b54b4 100644
--- a/src/corelib/io/qfsfileengine_win.cpp
+++ b/src/corelib/io/qfsfileengine_win.cpp
@@ -1392,8 +1392,6 @@ bool QFSFileEnginePrivate::doStat() const
if (tmpAttributes != -1) {
fileAttrib = tmpAttributes;
could_stat = true;
- } else {
- return false;
}
#endif
} else {