----------------------------------------------------------------------------
| 278 | } |
| 279 | //---------------------------------------------------------------------------- |
| 280 | void MsgLogViewDialog_t::updatePeriodic(void) |
| 281 | { |
| 282 | if (msgLog.getTotalLineCount() != totalLines) |
| 283 | { |
| 284 | FCEU_WRAPPER_LOCK(); |
| 285 | |
| 286 | msgLog.loadTextViewer(txtView); |
| 287 | |
| 288 | totalLines = msgLog.getTotalLineCount(); |
| 289 | |
| 290 | FCEU_WRAPPER_UNLOCK(); |
| 291 | |
| 292 | txtView->moveCursor(QTextCursor::End); |
| 293 | } |
| 294 | } |
| 295 | //---------------------------------------------------------------------------- |
| 296 | /** |
| 297 | * Prints a textual message without adding a newline at the end. |
nothing calls this directly
no test coverage detected