| 1165 | } |
| 1166 | |
| 1167 | void SourceFormatterSelectionEdit::styleNameChanged(QListWidgetItem* item) |
| 1168 | { |
| 1169 | Q_D(SourceFormatterSelectionEdit); |
| 1170 | |
| 1171 | d->assertValidSelectedStyleItem(item); |
| 1172 | d->validCurrentStyle().setCaption(item->text()); |
| 1173 | |
| 1174 | // Don't call updateUiForCurrentStyle(), because neither style buttons nor preview depend on style captions. |
| 1175 | emit changed(); |
| 1176 | } |
| 1177 | |
| 1178 | #include "moc_sourceformatterselectionedit.cpp" |
nothing calls this directly
no test coverage detected