Commit 1b042a225c543fd06a6fdcd74e1fa3b48683270f
- Diff rendering mode:
- inline
- side by side
|   | |||
| 1201 | 1201 | ||
| 1202 | 1202 | QApplication::setOverrideCursor(QCursor(Qt::WaitCursor)); | |
| 1203 | 1203 | IEditor *edt = createEditor(editorKind); | |
| 1204 | if (!edt) | ||
| 1204 | if (!edt) { | ||
| 1205 | QApplication::restoreOverrideCursor(); | ||
| 1205 | 1206 | return 0; | |
| 1207 | } | ||
| 1206 | 1208 | ||
| 1207 | if (!edt || !edt->createNew(contents)) { | ||
| 1209 | if (!edt->createNew(contents)) { | ||
| 1208 | 1210 | QApplication::restoreOverrideCursor(); | |
| 1209 | 1211 | delete edt; | |
| 1210 | 1212 | edt = 0; |

