Skip to content

Commit

Permalink
Fix CI compile errors - CloudDB - gchart
Browse files Browse the repository at this point in the history
... and remove unused test variables
  • Loading branch information
Joern-R committed May 29, 2016
1 parent 5c01f4f commit ac385a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/Cloud/CloudDBChart.cpp
Expand Up @@ -1014,8 +1014,6 @@ CloudDBChartListDialog::applyAllFilters() {
if (g_role == CloudDBCommon::UserImport) {
int winId = chart.ChartType.toInt();
for (int i = 0; GcWindows[i].relevance; i++) {
int x = GcWindows[i].id;
int y = GcWindows[i].relevance;
if (GcWindows[i].id == winId && (GcWindows[i].relevance & mask)) {
chartOkForView = true;
break;
Expand Down
4 changes: 2 additions & 2 deletions src/Cloud/CloudDBCommon.cpp
Expand Up @@ -373,7 +373,7 @@ CloudDBHeader::writeHeaderCache(QList<CommonAPIHeaderV1>* header, CloudDBHeaderT
out << h.CreatorId;
out << h.Deleted;
out << h.Curated;
if (headerType == CloudDBHeaderType::CloudDB_Chart) {
if (headerType == CloudDB_Chart) {
out << h.ChartSport;
out << h.ChartType;
out << h.ChartView;
Expand Down Expand Up @@ -428,7 +428,7 @@ CloudDBHeader::readHeaderCache(QList<CommonAPIHeaderV1>* header, CloudDBHeaderTy
in >> h.CreatorId;
in >> h.Deleted;
in >> h.Curated;
if (headerType == CloudDBHeaderType::CloudDB_Chart) {
if (headerType == CloudDB_Chart) {
in >> h.ChartSport;
in >> h.ChartType;
in >> h.ChartView;
Expand Down

0 comments on commit ac385a2

Please sign in to comment.