Skip to content

Commit

Permalink
CloudDB - Chart Caching
Browse files Browse the repository at this point in the history
... create Caching Root Directory if not yet existing
  • Loading branch information
Joern-R committed Dec 28, 2016
1 parent a4df6d0 commit 9f90bcc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Cloud/CloudDBChart.cpp
Expand Up @@ -45,6 +45,10 @@ CloudDBChartClient::CloudDBChartClient()
QDir cacheDir(QStandardPaths::standardLocations(QStandardPaths::AppLocalDataLocation).at(0));
cacheDir.cdUp();
g_cacheDir = QString(cacheDir.absolutePath()+"/GoldenCheetahCloudDB");
QDir newCacheDir(g_cacheDir);
if (!newCacheDir.exists()) {
cacheDir.mkdir("GoldenCheetahCloudDB");
}

// general handling for sslErrors
connect(g_nam, SIGNAL(sslErrors(QNetworkReply*,QList<QSslError>)), this,
Expand Down

0 comments on commit 9f90bcc

Please sign in to comment.