Use print-util in utils.h.
This commit is contained in:
parent
ed6df98653
commit
c338884fc7
@ -150,10 +150,7 @@ void MainWindow::onAppendText(QString text, QString suffix) {
|
|||||||
editText += text.leftJustified(m_width-9);
|
editText += text.leftJustified(m_width-9);
|
||||||
}
|
}
|
||||||
|
|
||||||
QStringList const lines = editText.split('\n');
|
Utils::printLineEditInfo(editText.split('\n'));
|
||||||
for (int i=0; i<lines.size(); ++i) {
|
|
||||||
qInfo() << lines.at(i);
|
|
||||||
} qInfo() << ""; qInfo() << "";
|
|
||||||
|
|
||||||
ui->updateStatus->setPlainText(editText.trimmed());
|
ui->updateStatus->setPlainText(editText.trimmed());
|
||||||
ui->updateStatus->setEnabled(true);
|
ui->updateStatus->setEnabled(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user