Showing the changes to libraries/script-engine/src/ScriptEngine.cpp (1 of 4 files). Show all
Unified · Split
| @@ -221,16 +221,6 @@ QString ScriptEngine::getFilename() const { · 220 unmodified lines | ||
| 221 | 221 | } |
| 222 | 222 | |
| 223 | 223 | |
| 224 | − | |
| 225 | −bool ScriptEngine::setScriptContents(const QString& scriptContents, const QString& fileNameString) { | |
| 226 | − if (_isRunning) { | |
| 227 | − return false; | |
| 228 | − } | |
| 229 | − _scriptContents = scriptContents; | |
| 230 | − _fileNameString = fileNameString; | |
| 231 | − return true; | |
| 232 | −} | |
| 233 | − | |
| 234 | 224 | // FIXME - remove the file/url scheme code here and let the script cache handle things |
| 235 | 225 | void ScriptEngine::loadURL(const QUrl& scriptURL, bool reload) { |
| 236 | 226 | if (_isRunning) { |