Commit a847fead authored by frysch's avatar frysch

typo

parent 25d716c2
......@@ -134,10 +134,10 @@ void MainWindow::countLines(const QStringList &folders)
curFile.setFileName(curDir.path()+"/" +fileN);
curFile.open(QIODevice::ReadOnly | QIODevice::Text);
auto allLines = QString(curFile.readAll());
auto listOFLines = allLines.split("\n");
auto listOfLines = allLines.split("\n");
if(!ui->checkBox_emptyLines->isChecked())
listOFLines.removeAll("");
auto curLength = listOFLines.length();
listOfLines.removeAll("");
auto curLength = listOfLines.length();
analysis.append(fileN + ": " + QString::number(curLength) + "\n");
lineCounter += curLength;
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