重新上传

This commit is contained in:
feiyangqingyun
2021-01-16 12:41:38 +08:00
parent 9cf0de0f8d
commit e8195be0e3
149 changed files with 1545 additions and 6219 deletions

View File

@@ -88,14 +88,15 @@ bool frmCountCode::checkFile(const QString &fileName)
void frmCountCode::countCode(const QString &filePath)
{
QDir dir(filePath);
foreach (QFileInfo fileInfo , dir.entryInfoList()) {
QFileInfoList fileInfos = dir.entryInfoList();
foreach (QFileInfo fileInfo, fileInfos) {
QString fileName = fileInfo.fileName();
if (fileInfo.isFile()) {
QString strFileName = fileInfo.fileName();
if (checkFile(strFileName)) {
if (checkFile(fileName)) {
listFile << fileInfo.filePath();
}
} else {
if(fileInfo.fileName() == "." || fileInfo.fileName() == "..") {
if (fileName == "." || fileName == "..") {
continue;
}

BIN
countcode/snap.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB