Commit a847fead authored by frysch's avatar frysch

typo

parent 25d716c2
...@@ -134,10 +134,10 @@ void MainWindow::countLines(const QStringList &folders) ...@@ -134,10 +134,10 @@ void MainWindow::countLines(const QStringList &folders)
curFile.setFileName(curDir.path()+"/" +fileN); curFile.setFileName(curDir.path()+"/" +fileN);
curFile.open(QIODevice::ReadOnly | QIODevice::Text); curFile.open(QIODevice::ReadOnly | QIODevice::Text);
auto allLines = QString(curFile.readAll()); auto allLines = QString(curFile.readAll());
auto listOFLines = allLines.split("\n"); auto listOfLines = allLines.split("\n");
if(!ui->checkBox_emptyLines->isChecked()) if(!ui->checkBox_emptyLines->isChecked())
listOFLines.removeAll(""); listOfLines.removeAll("");
auto curLength = listOFLines.length(); auto curLength = listOfLines.length();
analysis.append(fileN + ": " + QString::number(curLength) + "\n"); analysis.append(fileN + ": " + QString::number(curLength) + "\n");
lineCounter += curLength; lineCounter += curLength;
curFile.close(); curFile.close();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment