Showing the changes to interface/src/Application.cpp (1 of 35 files). Show all
Unified · Split
| @@ -349,7 +349,7 @@ Application::Application(int& argc, char** argv, QElapsedTimer &startup_time) : · 348 unmodified lines | ||
| 349 | 349 | |
| 350 | 350 | QString cachePath = QStandardPaths::writableLocation(QStandardPaths::DataLocation); |
| 351 | 351 | |
| 352 | − NetworkAccessManager& networkAccessManager = NetworkAccessManager::getInstance(); | |
| 352 | + QNetworkAccessManager& networkAccessManager = NetworkAccessManager::getInstance(); | |
| 353 | 353 | QNetworkDiskCache* cache = new QNetworkDiskCache(); |
| 354 | 354 | cache->setCacheDirectory(!cachePath.isEmpty() ? cachePath : "interfaceCache"); |
| 355 | 355 | networkAccessManager.setCache(cache); |