Showing the changes to libraries/script-engine/src/ScriptCache.cpp (1 of 21 files). Show all
Unified · Split
| @@ -134,6 +134,7 @@ void ScriptCache::scriptContentAvailable(int maxRetries) { · 133 unmodified lines | |||
| 134 | qCDebug(scriptengine) << "ScriptCache::scriptContentAvailable() on thread [" << QThread::currentThread() << "] expected thread [" << thread() << "]"; | 134 | qCDebug(scriptengine) << "ScriptCache::scriptContentAvailable() on thread [" << QThread::currentThread() << "] expected thread [" << thread() << "]"; |
| 135 | #endif | 135 | #endif |
| 136 | ResourceRequest* req = qobject_cast<ResourceRequest*>(sender()); | 136 | ResourceRequest* req = qobject_cast<ResourceRequest*>(sender()); |
| 137 | Q_ASSERT(req != nullptr); | ||
| 137 | QUrl url = req->getUrl(); | 138 | QUrl url = req->getUrl(); |
| 138 | 139 | ||
| 139 | QString scriptContent; | 140 | QString scriptContent; |