重新上传
This commit is contained in:
@@ -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
BIN
countcode/snap.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 110 KiB |
Reference in New Issue
Block a user