| 48 | } |
| 49 | |
| 50 | void ErrorWidget::setErrorMessage(const QString &message) |
| 51 | { |
| 52 | m_errorMessage = message; |
| 53 | QFont smallFont = font(); |
| 54 | smallFont.setPointSize(qMax(8, smallFont.pointSize() - 2)); |
| 55 | setFont(smallFont); |
| 56 | setFixedSize(calculateSize()); |
| 57 | update(); |
| 58 | } |
| 59 | |
| 60 | void ErrorWidget::setupColors() |
| 61 | { |
nothing calls this directly
no outgoing calls
no test coverage detected