| 1083 | } |
| 1084 | |
| 1085 | void TabWidget::saveFile(const QString &fileName) |
| 1086 | { |
| 1087 | if (auto editor = d->findEditor(fileName)) { |
| 1088 | Inotify::globalInstance()->removePath(fileName); |
| 1089 | editor->save(); |
| 1090 | Inotify::globalInstance()->addPath(fileName); |
| 1091 | } |
| 1092 | } |
| 1093 | |
| 1094 | void TabWidget::dragEnterEvent(QDragEnterEvent *event) |
| 1095 | { |
no test coverage detected