Use print-util in utils.h.

This commit is contained in:
Gerhard Hoffmann 2023-08-11 11:06:38 +02:00
parent ed6df98653
commit c338884fc7

View File

@ -150,10 +150,7 @@ void MainWindow::onAppendText(QString text, QString suffix) {
editText += text.leftJustified(m_width-9);
}
QStringList const lines = editText.split('\n');
for (int i=0; i<lines.size(); ++i) {
qInfo() << lines.at(i);
} qInfo() << ""; qInfo() << "";
Utils::printLineEditInfo(editText.split('\n'));
ui->updateStatus->setPlainText(editText.trimmed());
ui->updateStatus->setEnabled(true);