Changeset View
Changeset View
Standalone View
Standalone View
src/backtracewidget.cpp
Show First 20 Lines • Show All 304 Lines • ▼ Show 20 Line(s) | 295 | } else if (m_btGenerator->state() == BacktraceGenerator::FailedToStart) { | |||
---|---|---|---|---|---|
305 | ui.m_extraDetailsLabel->setVisible(true); | 305 | ui.m_extraDetailsLabel->setVisible(true); | ||
306 | ui.m_extraDetailsLabel->setText(xi18nc("@info/rich", "<strong>You need to first install the debugger " | 306 | ui.m_extraDetailsLabel->setText(xi18nc("@info/rich", "<strong>You need to first install the debugger " | ||
307 | "application (%1) then click the <interface>Reload" | 307 | "application (%1) then click the <interface>Reload" | ||
308 | "</interface> button.</strong>", | 308 | "</interface> button.</strong>", | ||
309 | m_btGenerator->debugger().name())); | 309 | m_btGenerator->debugger().name())); | ||
310 | } | 310 | } | ||
311 | 311 | | |||
312 | ui.m_reloadBacktraceButton->setEnabled(true); | 312 | ui.m_reloadBacktraceButton->setEnabled(true); | ||
313 | | ||||
314 | // We substantially change label content, the window might need resizing to | ||||
315 | // fit it all. | ||||
316 | // https://bugs.kde.org/show_bug.cgi?id=337319 | ||||
317 | window()->adjustSize(); | ||||
318 | | ||||
313 | emit stateChanged(); | 319 | emit stateChanged(); | ||
314 | } | 320 | } | ||
315 | 321 | | |||
316 | void BacktraceWidget::backtraceNewLine(const QString & line) | 322 | void BacktraceWidget::backtraceNewLine(const QString & line) | ||
317 | { | 323 | { | ||
318 | //While loading the backtrace (unparsed) a new line was sent from the debugger, append it | 324 | //While loading the backtrace (unparsed) a new line was sent from the debugger, append it | ||
319 | ui.m_backtraceEdit->append(line.trimmed()); | 325 | ui.m_backtraceEdit->append(line.trimmed()); | ||
320 | } | 326 | } | ||
▲ Show 20 Lines • Show All 85 Lines • Show Last 20 Lines |