| 97 | } |
| 98 | |
| 99 | void EditStyleDialog::updatePreviewText(const QString &text) |
| 100 | { |
| 101 | Q_ASSERT_X(!text.isEmpty(), Q_FUNC_INFO, "Empty m_pendingPreviewText has a special meaning."); |
| 102 | if (m_style.usePreview()) { |
| 103 | showPreview(text); |
| 104 | } else { |
| 105 | m_pendingPreviewText = text; |
| 106 | } |
| 107 | } |
| 108 | |
| 109 | void EditStyleDialog::showPreview(const QString& text) |
| 110 | { |
nothing calls this directly
no test coverage detected