summaryrefslogtreecommitdiffstats
path: root/src/corelib/io
diff options
context:
space:
mode:
authorJoão Abecasis <joao@abecasis.name>2010-12-05 10:28:28 (GMT)
committerJoão Abecasis <joao@abecasis.name>2010-12-05 10:28:28 (GMT)
commit9371ba70ac747484b1300d96c2a80dcdbc872fe2 (patch)
tree787ccea6f135cf105811021ac446618ec7453674 /src/corelib/io
parentdcc7df8ed32d900a616d415c0eb2565e559f6435 (diff)
downloadQt-9371ba70ac747484b1300d96c2a80dcdbc872fe2.zip
Qt-9371ba70ac747484b1300d96c2a80dcdbc872fe2.tar.gz
Qt-9371ba70ac747484b1300d96c2a80dcdbc872fe2.tar.bz2
Fix spelling in comments
Diffstat (limited to 'src/corelib/io')
-rw-r--r--src/corelib/io/qfilesystemengine_symbian.cpp2
-rw-r--r--src/corelib/io/qfilesystemengine_win.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/io/qfilesystemengine_symbian.cpp b/src/corelib/io/qfilesystemengine_symbian.cpp
index 3659a39..84c3aa1 100644
--- a/src/corelib/io/qfilesystemengine_symbian.cpp
+++ b/src/corelib/io/qfilesystemengine_symbian.cpp
@@ -378,7 +378,7 @@ bool QFileSystemEngine::setCurrentPath(const QFileSystemEntry &entry)
if(!abspath.endsWith(QLatin1Char('\\')))
abspath.append(QLatin1Char('\\'));
TInt r = fs.SetSessionPath(qt_QString2TPtrC(abspath));
- //SetSessionPath succeeds for non existant directory, which is why it's checked above
+ //SetSessionPath succeeds for non existent directory, which is why it's checked above
if (r == KErrNone) {
__ASSERT_COMPILE(sizeof(wchar_t) == sizeof(unsigned short));
//attempt to set open C to the same path
diff --git a/src/corelib/io/qfilesystemengine_win.cpp b/src/corelib/io/qfilesystemengine_win.cpp
index 621b631..39fce97 100644
--- a/src/corelib/io/qfilesystemengine_win.cpp
+++ b/src/corelib/io/qfilesystemengine_win.cpp
@@ -378,7 +378,7 @@ static QString readLink(const QFileSystemEntry &link)
static bool uncShareExists(const QString &server)
{
- // This code asumes the UNC path is always like \\?\UNC\server...
+ // This code assumes the UNC path is always like \\?\UNC\server...
QStringList parts = server.split(QLatin1Char('\\'), QString::SkipEmptyParts);
if (parts.count() >= 3) {
QStringList shares;