| 82 | } |
| 83 | |
| 84 | void UserScriptEditor::onScriptModified(bool changed) |
| 85 | { |
| 86 | if (m_ignoreFindModify) |
| 87 | { |
| 88 | m_ignoreFindModify = false; |
| 89 | ui->scriptEditor->document()->setModified(false); |
| 90 | return; |
| 91 | } |
| 92 | |
| 93 | m_scriptModified = changed; |
| 94 | QString title = windowTitle(); |
| 95 | if (changed) |
| 96 | { |
| 97 | if (!title.endsWith(QChar('*'))) |
| 98 | setWindowTitle(QString("%1*").arg(title)); |
| 99 | } |
| 100 | else if (title.endsWith(QChar('*'))) |
| 101 | setWindowTitle(title.left(title.size() - 1)); |
| 102 | } |
| 103 | |
| 104 | void UserScriptEditor::onTextFindPseudoModify() |
| 105 | { |
nothing calls this directly
no outgoing calls
no test coverage detected