diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2009-05-27 06:41:53 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2009-05-27 06:41:53 (GMT) |
commit | 634954f1648a1ada74ba03f2eecec71e8bcba898 (patch) | |
tree | 8d30062a74e3b10e5da2aee304063dc050078c74 /src/corelib/io | |
parent | 639557d7e2df5fc1b3ffdc76188b3084c13a8fc3 (diff) | |
download | Qt-634954f1648a1ada74ba03f2eecec71e8bcba898.zip Qt-634954f1648a1ada74ba03f2eecec71e8bcba898.tar.gz Qt-634954f1648a1ada74ba03f2eecec71e8bcba898.tar.bz2 |
Fix WinCE compile error not fixed by c666b88
You can't implicitly convert QLatin1Char to QString and thus neither to
QFileInfo. Instead do the conversion the correct way, as illustrated by
the code five lines above the line that broke.
Reviewed-by: Lincoln Ramsay
Reviewed-by: Andy Shaw
Diffstat (limited to 'src/corelib/io')
-rw-r--r-- | src/corelib/io/qfsfileengine_win.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qfsfileengine_win.cpp b/src/corelib/io/qfsfileengine_win.cpp index 82cde8b..0b87e2b 100644 --- a/src/corelib/io/qfsfileengine_win.cpp +++ b/src/corelib/io/qfsfileengine_win.cpp @@ -1298,7 +1298,7 @@ QFileInfoList QFSFileEngine::drives() } return ret; #else - ret.append(QFileInfo(QLatin1Char('/'))); + ret.append(QString::fromLatin1("/")); return ret; #endif } |