| 176 | } |
| 177 | |
| 178 | void CodeEditor::docChanged(bool c) |
| 179 | { |
| 180 | int t = tabs == nullptr ? -1 : tabs->indexOf(this); |
| 181 | if (t != -1) { |
| 182 | QString title = tabs->tabText(t); |
| 183 | title = title.mid(0, title.lastIndexOf(" *")); |
| 184 | if (c) |
| 185 | title += " *"; |
| 186 | tabs->setTabText(t,title); |
| 187 | } |
| 188 | } |
| 189 | |
| 190 | void CodeEditor::contentsChanged() |
| 191 | { |
nothing calls this directly
no outgoing calls
no test coverage detected