mirror of
https://github.com/epasveer/seer.git
synced 2026-08-30 17:10:44 +08:00
Fixed escape problem for "\n", et al.
This commit is contained in:
@@ -54,10 +54,12 @@ void SeerLogWidget::setLogEnabled (bool flag) {
|
||||
|
||||
void SeerLogWidget::moveToEnd () {
|
||||
|
||||
/* XXX
|
||||
// Move to the end and then to the beginning of that line.
|
||||
QTextCursor cursor = textEdit->textCursor();
|
||||
textEdit->moveCursor(QTextCursor::End, QTextCursor::MoveAnchor);
|
||||
textEdit->moveCursor(QTextCursor::StartOfBlock, QTextCursor::MoveAnchor);
|
||||
*/
|
||||
|
||||
textEdit->verticalScrollBar()->setValue(textEdit->verticalScrollBar()->maximum());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user