| 302 | } |
| 303 | |
| 304 | void BasicCodeViewerWindow::showCode() { |
| 305 | if (!hasCodeYet) { |
| 306 | ui->basicEdit->document()->setPlainText(m_showingFormatted ? m_formattedCode : m_originalCode); |
| 307 | hasCodeYet = true; |
| 308 | } else { |
| 309 | ui->basicEdit->update(); |
| 310 | } |
| 311 | } |
| 312 | |
| 313 | BasicCodeViewerWindow::~BasicCodeViewerWindow() { |
| 314 | delete ui; |
nothing calls this directly
no outgoing calls
no test coverage detected