Browse Source

Prevent log window buffer from filling up (Closes #929673)

adaptive-webui-19844
Christophe Dumez 13 years ago
parent
commit
5e48708920
  1. 2
      src/loglistwidget.cpp

2
src/loglistwidget.cpp

@ -64,7 +64,7 @@ void LogListWidget::keyPressEvent(QKeyEvent *event)
void LogListWidget::appendLine(const QString &line) void LogListWidget::appendLine(const QString &line)
{ {
QListWidgetItem *item = new QListWidgetItem(this); QListWidgetItem *item = new QListWidgetItem;
// We need to use QLabel here to support rich text // We need to use QLabel here to support rich text
QLabel *lbl = new QLabel(line); QLabel *lbl = new QLabel(line);
lbl->setContentsMargins(4, 2, 4, 2); lbl->setContentsMargins(4, 2, 4, 2);

Loading…
Cancel
Save