summaryrefslogtreecommitdiffstats
path: root/tests/auto/qfileinfo
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 /tests/auto/qfileinfo
parentdcc7df8ed32d900a616d415c0eb2565e559f6435 (diff)
downloadQt-9371ba70ac747484b1300d96c2a80dcdbc872fe2.zip
Qt-9371ba70ac747484b1300d96c2a80dcdbc872fe2.tar.gz
Qt-9371ba70ac747484b1300d96c2a80dcdbc872fe2.tar.bz2
Fix spelling in comments
Diffstat (limited to 'tests/auto/qfileinfo')
-rw-r--r--tests/auto/qfileinfo/tst_qfileinfo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qfileinfo/tst_qfileinfo.cpp b/tests/auto/qfileinfo/tst_qfileinfo.cpp
index 79c5184..3bbe2ca 100644
--- a/tests/auto/qfileinfo/tst_qfileinfo.cpp
+++ b/tests/auto/qfileinfo/tst_qfileinfo.cpp
@@ -1653,8 +1653,8 @@ void tst_QFileInfo::owner()
DWORD bufSize = 1024;
if (GetUserNameW(usernameBuf, &bufSize)) {
userName = QString::fromWCharArray(usernameBuf, bufSize);
- // Special case : If the user is a member of Adminstrators group, all files
- // created by the current user are owned by the Admistrators group.
+ // Special case : If the user is a member of Administrators group, all files
+ // created by the current user are owned by the Administrators group.
LPLOCALGROUP_USERS_INFO_0 pBuf = NULL;
DWORD dwLevel = 0;
DWORD dwFlags = LG_INCLUDE_INDIRECT ;
@@ -1664,7 +1664,7 @@ void tst_QFileInfo::owner()
NET_API_STATUS nStatus;
nStatus = NetUserGetLocalGroups(0, usernameBuf, dwLevel, dwFlags, (LPBYTE *) &pBuf,
dwPrefMaxLen, &dwEntriesRead, &dwTotalEntries);
- // Check if the current user is a member of Adminstrators group
+ // Check if the current user is a member of Administrators group
if (nStatus == NERR_Success && pBuf){
for (int i = 0; i < dwEntriesRead; i++) {
QString groupName = QString::fromWCharArray(pBuf[i].lgrui0_name);