History

repair NetworkAccessManager returns, handle custom AS port in assignment-client

Stephen Birarda committed 12 years ago

Commit f19c5c91 parent 78920239 files · +27 −20Browse files

Showing the changes to interface/src/Application.cpp (1 of 9 files). Show all

Unified · Split

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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t