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